when2 method
- bool predicate(
- T self
Returns an instance of _When
that allows further processing.
Implementation
// ignore: library_private_types_in_public_api, should be used internally
_When<T> when2(bool Function(T self) predicate) => _When(this, predicate);