Endpoint constructor
Endpoint({
- required String path,
- required HttpMethod method,
- ResponseType responseType = ResponseType.json,
- dynamic parameters,
- Map<
String, dynamic> ? queryParameters, - bool rawPath = false,
- Map<
String, dynamic> ? headers, - 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,
});