MockApi constructor

MockApi({
  1. String? originalUrl,
  2. String? mockUrl,
  3. MockType? type,
  4. String? mockResponse,
  5. String? httpMethod,
})

Constructs a MockApi with optional parameters.

Implementation

MockApi({
  this.originalUrl,
  this.mockUrl,
  this.type,
  this.mockResponse,
  this.httpMethod,
});