Returns a JSON representation of BarcodeResponse.
Map<String, dynamic> toJson() { return { 'BarcodeValue': barcodeValue, 'Type': type, 'Region': region, 'Checksum': checksum }; }