ExpectedBarcode.fromJson constructor
Implementation
factory ExpectedBarcode.fromJson(Map<String, dynamic> json) =>
ExpectedBarcode(
barcodeValue: json["barcodeValue"] as String,
title: json.containsKey("title")
? (json["title"] != null ? json["title"] as String : null)
: null,
image: json.containsKey("image")
? (json["image"] != null ? json["image"] as String : null)
: null,
count: json.containsKey("count") ? (json["count"] as int) : 1,
);