toMap method

Map<String, Object?> toMap()

Implementation

Map<String, Object?> toMap() => <String, Object?>{
      'locMode': locMode.wireName,
      'gnssSource': gnssSource.wireName,
      'allowGps': allowGps,
      'allowBle': allowBle,
      'allowCache': allowCache,
      'gpsFirst': gpsFirst,
      'gpsFirstTimeoutMs': gpsFirstTimeout.inMilliseconds,
      'firstLocationTimeoutMs': firstLocationTimeout.inMilliseconds,
      'firstLocationNeedAddress': firstLocationNeedAddress,
      'indoorMode': indoorMode,
      'scene': scene?.wireName,
      'smallAppKey': smallAppKey,
      'qq': qq,
      'phoneNumber': phoneNumber,
      'reGeoCodingKey': reGeoCodingKey,
    };