BatchScanResult.fromJson constructor
BatchScanResult.fromJson(
- Map<String, dynamic> json
)
Implementation
BatchScanResult.fromJson(Map<String, dynamic> json) {
barcodeFormat = json['barcodeFormat'];
boundingBox = json['boundingBox'] != null
? BoundingBox.fromJson(json['boundingBox'])
: null;
if (json['finalPoints'] != null) {
finalPoints = <FinalPoints>[];
json['finalPoints'].forEach((v) {
finalPoints!.add(FinalPoints.fromJson(v));
});
}
isLongDistance = json['isLongDistance'];
modelScanType = json['modelScanType'];
text = json['text'];
}