none method

Future<bool> none(
  1. Iterable<String> abilities, [
  2. List<Object?> args = const []
])

Whether none of the abilities is allowed.

Implementation

Future<bool> none(
  Iterable<String> abilities, [
  List<Object?> args = const [],
]) async => !(await any(abilities, args));