SystemLocationDataSource constructor

SystemLocationDataSource({
  1. int interval = 250,
  2. double distanceFilter = 0.0,
  3. DeviceLocationAccuracyType deviceLocationAccuracy = DeviceLocationAccuracyType.high,
})

Creates a system location data source. The interval is the interval in milliseconds at which location updates are requested (Android only). The distanceFilter is the distance filter in meters at which location updates are requested. The deviceLocationAccuracy is the desired accuracy for the location data provided by the device.