getServiceStatusStream static method
Fires whenever the location services are disabled/enabled in the notification bar or in the device settings. Returns ServiceStatus.enabled when location services are enabled and returns ServiceStatus.disabled when location services are disabled
Implementation
static Stream<ServiceStatus> getServiceStatusStream() =>
GeolocatorPlatform.instance.getServiceStatusStream();