toMap method

  1. @override
Map<String, dynamic> toMap()

Implementation

@override
Map<String, dynamic> toMap() {
  return {
    'codeDuplicateFilter': codeDuplicateFilter.inMilliseconds,
    'properties': _properties,
    'symbologies': _symbologies.map<String, Map<String, dynamic>>((key, value) => MapEntry(key, value.toMap())),
    'singleBarcodeAutoDetectionEnabled': singleBarcodeAutoDetection,
    'selectionType': selectionType.toMap()
  };
}