isLocationServiceEnabled method

  1. @override
Future<bool> isLocationServiceEnabled()

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

Implementation

@override
Future<bool> isLocationServiceEnabled() async => _methodChannel
    .invokeMethod<bool>('isLocationServiceEnabled')
    .then((value) => value ?? false);