matches method
Implementation
@override
bool matches(RequestOptions ongoingRequest, Request matcher) {
final isTheSameRoute =
ongoingRequest.doesRouteMatch(ongoingRequest.path, matcher.route);
return isTheSameRoute &&
(!matchMethod || ongoingRequest.method == matcher.method?.name);
}