requestService method

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

Request the activation of the location service.

Implementation

@override
Future<bool> requestService() async {
  final result = await _methodChannel!.invokeMethod('requestService');
  return result == 1;
}