fromJson static method
Implementation
static Barcode fromJson(JsonObject json) => Barcode(
text: json['text'],
rawBytes: json['rawBytes'],
barcodeFormat: BarcodeFormat.values.fromName(json['barcodeFormat'].toString().toLowerCase())!,
);