shouldRequestPermission method
Implementation
Future<bool> shouldRequestPermission(Permission permission) async {
final status = await permission.status;
return [PermissionStatus.denied, PermissionStatus.permanentlyDenied].contains(status);
}
Future<bool> shouldRequestPermission(Permission permission) async {
final status = await permission.status;
return [PermissionStatus.denied, PermissionStatus.permanentlyDenied].contains(status);
}