has method
Checks if permission is granted or limited.
Implementation
Future<bool> has(PermissionType type) async => switch (await check(type)) {
PermissionStatus.granted || PermissionStatus.limited => true,
_ => false,
};
Checks if permission is granted or limited.
Future<bool> has(PermissionType type) async => switch (await check(type)) {
PermissionStatus.granted || PermissionStatus.limited => true,
_ => false,
};