predicateWithContext function

ContextAwareMatcher predicateWithContext(
  1. bool f(
    1. Object,
    2. String,
    3. Map,
    4. Map,
    ), [
  2. String description = 'satisfies function'
])

Returns a ContextAwareMatcher for the given predicate.

Implementation

ContextAwareMatcher predicateWithContext(
    bool Function(Object, String, Map, Map) f,
    [String description = 'satisfies function']) {
  return _PredicateWithContext(f, description);
}