Endpoint constructor

Endpoint({
  1. required String path,
  2. required HttpMethod method,
  3. ResponseType responseType = ResponseType.json,
  4. dynamic parameters,
  5. Map<String, dynamic>? queryParameters,
  6. bool rawPath = false,
  7. Map<String, dynamic>? headers,
  8. bool? forceMock,
})

Implementation

Endpoint({
  required this.path,
  required this.method,
  this.responseType = ResponseType.json,
  this.parameters,
  this.queryParameters,
  this.rawPath = false,
  this.headers,
  this.forceMock,
});