toMap method

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

Implementation

@override
Map<String, dynamic> toMap() {
  return {
    'properties': _properties,
    'symbologies': _symbologies.map<String, Map<String, dynamic>>((key, value) => MapEntry(key, value.toMap())),
    'soundEnabled': soundEnabled,
    'hapticEnabled': hapticsEnabled,
    'cachingEnabled': cachingEnabled,
    'arucoDictionary': _arucoDictionary?.toMap()
  };
}