startLocationService static method

dynamic startLocationService({
  1. double distanceFilter = 0.0,
  2. bool forceAndroidLocationManager = false,
})

Start receiving location updated

Implementation

static startLocationService({double distanceFilter = 0.0, bool forceAndroidLocationManager = false}) async {
  return await _channel.invokeMethod('start_location_service',
      <String, dynamic>{'distance_filter': distanceFilter, 'force_location_manager': forceAndroidLocationManager});
}