checkIfPermissionGranted method

  1. @override
Future<bool?> checkIfPermissionGranted()
override

Implementation

@override
Future<bool?> checkIfPermissionGranted() async {
  try {
    return await methodChannel.invokeMethod<bool>('checkPermission');
  } catch (e) {
    rethrow;
  }
}