SparkScanSession.fromJSON constructor
Implementation
factory SparkScanSession.fromJSON(Map<String, dynamic> event) {
var json = jsonDecode(event['session']);
return SparkScanSession._(
json['newlyRecognizedBarcode'] != null ? Barcode.fromJSON(json['newlyRecognizedBarcode']) : null,
(json['frameSequenceId'] as num).toInt(),
event['frameId'],
);
}