toJson method
Serializes the LocationOptions to a map message.
Implementation
Map<String, dynamic> toJson() => <String, dynamic>{
'accuracy': accuracy.index,
'distanceFilter': distanceFilter,
'forceAndroidLocationManager': forceAndroidLocationManager,
'timeInterval': timeInterval
};