BarcodeData.fromJson constructor
Implementation
factory BarcodeData.fromJson(Map<String, dynamic> json) {
return BarcodeData(
code: json['codeId'],
information: (json['information'] as List<dynamic>?)
?.map((e) => BarcodeInfo.fromJson(e as Map<String, dynamic>))
.toList(),
);
}