requestMatchesAll function

CharlatanRequestMatcher requestMatchesAll(
  1. List<CharlatanRequestMatcher> matchers
)

A function to build a CharlatanRequestMatcher that matches if all of the provided CharlatanRequestMatchers match.

Implementation

CharlatanRequestMatcher requestMatchesAll(
  List<CharlatanRequestMatcher> matchers,
) =>
    (request) => matchers.every((matcher) => matcher(request));