Check.any constructor Null safety

Check.any(
  1. Iterable<AbstractCheck> checks,
  2. [String? name]
)

Creates a new Check that succeeds if at least one of the supplied checks succeed.

Implementation

factory Check.any(Iterable<AbstractCheck> checks, [String? name]) => _AnyCheck(checks, name);