gpsStatus method

Future<bool> gpsStatus()

Implementation

Future<bool> gpsStatus() async {
  bool isLocationEnabled = await Geolocator.isLocationServiceEnabled();
  return isLocationEnabled;
}