BarcodeResponse.fromJson constructor

BarcodeResponse.fromJson(
  1. Map<String, dynamic> json
)

Creates a BarcodeResponse instance from a JSON representation.

Implementation

BarcodeResponse.fromJson(Map<String, dynamic> json) {
  barcodeValue = json['barcodeValue'];
  type = json['type'];
  region = json['region'] == null
      ? null
      : RegionPoint.listFromJson(json['region']);
  checksum = json['checksum'];
}