isEnabled method

Future<bool> isEnabled()

Returns true is the service has permission granted by the systme and user

Implementation

Future<bool> isEnabled() async {
  return isIOS || (await _channel.invokeMethod<bool>('isEnabled') ?? false);
}