isLocationServiceEnabled method
Check device location service is enabled
Implementation
@override
Future<bool> isLocationServiceEnabled() async {
try {
return (await methodChannel
.invokeMethod(Methods.isLocationServiceEnabled));
} on PlatformException catch (e) {
final error = _handlePlatformException(e);
throw error;
}
}