isLocationServiceEnabled static method
Returns a Future containing a bool
value indicating whether location
services are enabled on the device.
Implementation
static Future<bool> isLocationServiceEnabled() =>
GeolocatorPlatform.instance.isLocationServiceEnabled();