HtpioRequest<T> constructor
HtpioRequest<T> ({})
Implementation
HtpioRequest({
required this.url,
this.method = 'GET',
this.body,
this.cacheEnabled = false,
this.timeout,
Map<String, String>? headers,
this.fromJson,
this.file,
this.files,
}) : headers = headers ?? {};