replyANY method

void replyANY(
  1. RegExp urlPattern,
  2. String response
)

Defines a reply response for any Method requests with urlPattern.

Implementation

void replyANY(RegExp urlPattern, String response) {
  simulateANY(urlPattern, (u, p) => response);
}