toMap method

Map<String, Object> toMap()

Converts all settable fields to a Map<String, dynamic>.

Implementation

Map<String, Object> toMap() {
  return {
    'geolocationServiceTimeoutMs': _locationServiceTimeoutMs,
    'maxGeoLocationCacheAgeSec': _maxLocationCacheAgeSec,
    'prefetchEnabled': _prefetchEnabled,
    'geolocationEnabled': _geolocationEnabled,
  };
}