toJson method

Map<String, dynamic> toJson()

Returns a JSON representation of BarcodeResponse.

Implementation

Map<String, dynamic> toJson() {
  return {
    'BarcodeValue': barcodeValue,
    'Type': type,
    'Region': region,
    'Checksum': checksum
  };
}