Check.all constructor Null safety
- Iterable<
AbstractCheck> checks, - [String? name]
Creates a new Check that succeeds if all of the supplied checks succeeds, and fails otherwise.
This effectively functions the same as GroupMixin.checks and Command.singleChecks, but can be used to group common patterns of checks together.
Stateful checks in checks
will share their state for all uses of this check group.
Implementation
factory Check.all(Iterable<AbstractCheck> checks, [String? name]) => _GroupCheck(checks, name);