BarcodePickScanningSession.fromJSON constructor

BarcodePickScanningSession.fromJSON(
  1. Map<String, dynamic> json
)

Implementation

factory BarcodePickScanningSession.fromJSON(Map<String, dynamic> json) {
  return BarcodePickScanningSession._(
    (json['pickedObjects'] as List<dynamic>).whereType<String>().toSet(),
    (json['scannedObjects'] as List<dynamic>).whereType<String>().toSet(),
  );
}