simulateGET method

void simulateGET(
  1. RegExp urlPattern,
  2. SimulateResponse response
)

Defines GET simulated response for urlPattern.

Implementation

void simulateGET(RegExp urlPattern, SimulateResponse response) {
  _getPatterns[urlPattern] = response;
}