SmartApiRequest constructor
const
SmartApiRequest({})
Creates a request. See the field docs above for defaults.
Implementation
const SmartApiRequest({
required this.endpoint,
this.method = ApiMethod.get,
this.body,
this.files,
this.queryParams,
this.autoDetectFiles,
this.forceMultipart = false,
this.forceRaw = false,
this.showLoader = true,
this.extraHeaders,
});