isGPSEnabled function
Returns true if the GPS provider is enabled
Implementation
Future<bool> isGPSEnabled() async {
final response = await _platform.isGPSEnabled();
if (response == null) {
throw Exception('Error while getting GPS status');
}
return response;
}