toMap method

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

Implementation

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