predicateWithGalileo function

GalileoMatcher predicateWithGalileo(
  1. FutureOr<bool> f(
    1. String,
    2. Object,
    3. Galileo
    ),
  2. [String description = 'satisfies function']
)

Returns an GalileoMatcher that uses an arbitrary function that returns true or false for the actual value.

Analogous to the synchronous predicate matcher.

Implementation

GalileoMatcher predicateWithGalileo(FutureOr<bool> Function(String, Object, Galileo) f,
        [String description = 'satisfies function']) =>
    _PredicateWithGalileo(f, description);