RequestInfo.values constructor
RequestInfo.values({
- String url = '',
- String? method,
- Options? options,
- String? cacheKey,
- bool? isFormData,
- bool publicMethod = false,
- dynamic data,
- String? contentType,
- CancelToken? cancelToken,
- Function? onStart,
- dynamic onError(
- HttpData httpData
- Function? onFinish,
- ValidateResponse? validateResponse,
- String? successCode,
- String? codeKey,
- String? msgKey,
- String? dataKey,
- ProgressCallback? onReceiveProgress,
- ProgressCallback? onSendProgress,
- dynamic handleRes(
- dynamic map
- dynamic onSuccess(
- HttpData httpData
- HttpError validateError(
- dynamic data
- bool useLoadMore = false,
- bool checkDataEmpty = true,
Implementation
RequestInfo.values({
this.url = '',
this.method,
this.options,
this.cacheKey,
this.isFormData,
this.publicMethod = false,
this.data,
this.contentType,
this.cancelToken,
this.onStart,
this.onError,
this.onFinish,
this.validateResponse,
this.successCode,
this.codeKey,
this.msgKey,
this.dataKey,
this.onReceiveProgress,
this.onSendProgress,
this.handleRes,
this.onSuccess,
this.validateError,
this.useLoadMore = false,
this.checkDataEmpty = true
});