Constructs a MockApi with optional parameters.
MockApi({ this.originalUrl, this.mockUrl, this.type, this.mockResponse, this.httpMethod, });