check method
Checks the status of a specific permission.
Implementation
@override
Future<PermissionManagerStatus> check(
PermissionManagerPermission permission,
) async {
final result = await methodChannel.invokeMethod<String>(
'check',
{'permission': permission.name},
);
return PermissionManagerStatus.values.byName(result!);
}