isLocationServiceEnabled method

  1. @override
Future<bool> isLocationServiceEnabled()
override

Returns a Future containing a bool value indicating whether location services are enabled on the device.

Implementation

@override
Future<bool> isLocationServiceEnabled() {
  return Geolocator.isLocationServiceEnabled();
}