APIRequest<T> constructor
const
APIRequest<T> (})
Implementation
const APIRequest(
this.url, {
this.type = RequestType.get,
this.headers = const {},
this.data,
this.files = const [],
this.onFilesUpload,
this.log = false,
this.errorsField = 'errors',
this.encoding,
});