onLocationChanged property

  1. @override
Stream<LocationData> onLocationChanged
override

Returns a stream of LocationData objects. The frequency and accuracy of this stream can be changed with changeSettings

Throws an error if the app has no permission to access location.

Implementation

@override
Stream<LocationData> get onLocationChanged {
  return LocationPlatform.instance.onLocationChanged;
}