serviceEnabled method

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

Checks if the location service is enabled.

Implementation

@override
Future<bool> serviceEnabled() {
  return LocationPlatform.instance.serviceEnabled();
}