SparkScanSession.fromJSON constructor
Implementation
SparkScanSession.fromJSON(Map<String, dynamic> json)
: this._(
json['newlyRecognizedBarcode'] != null ? Barcode.fromJSON(json['newlyRecognizedBarcode']) : null,
(json['newlyRecognizedBarcodes'] as List<dynamic>)
.cast<Map<String, dynamic>>()
.map((e) => Barcode.fromJSON(e))
.toList()
.cast<Barcode>(),
(json['frameSequenceId'] as num).toInt());