ApiRequest constructor
const
ApiRequest({})
Constructs an ApiRequest with the provided method, path, read/write type, headers, query parameters, and body.
Implementation
const ApiRequest({
required this.method,
required this.path,
this.isRead = false,
this.headers,
this.queryParams,
this.body,
});