toMap method
Serializes the settings for the platform channel.
Implementation
Map<String, dynamic> toMap() {
return {
Keys.SETTINGS_ACCURACY: accuracy.value,
Keys.SETTINGS_DISTANCE_FILTER: distanceFilter,
Keys.SETTINGS_IOS_SHOWS_BACKGROUND_LOCATION_INDICATOR:
showsBackgroundLocationIndicator,
Keys.SETTINGS_IOS_STOP_WITH_TERMINATE: stopWithTerminate,
};
}