RequestInfo class

Constructors

RequestInfo.defaultValue()
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})

Properties

cacheKey ↔ String?
getter/setter pair
cancelToken ↔ CancelToken?
getter/setter pair
checkDataEmpty ↔ bool
getter/setter pair
codeKey ↔ String?
getter/setter pair
contentType ↔ String?
getter/setter pair
data ↔ dynamic
getter/setter pair
dataKey ↔ String?
getter/setter pair
handleRes ↔ dynamic Function(dynamic map)?
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
isFormData ↔ bool?
getter/setter pair
method ↔ String?
getter/setter pair
msgKey ↔ String?
getter/setter pair
onError ↔ dynamic Function(HttpData httpData)?
getter/setter pair
onFinish ↔ Function?
getter/setter pair
onReceiveProgress ↔ ProgressCallback?
getter/setter pair
onSendProgress ↔ ProgressCallback?
getter/setter pair
onStart ↔ Function?
getter/setter pair
onSuccess ↔ dynamic Function(HttpData httpData)?
getter/setter pair
options ↔ Options?
getter/setter pair
publicMethod ↔ bool
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
successCode ↔ String?
getter/setter pair
url ↔ String
getter/setter pair
useLoadMore ↔ bool
getter/setter pair
validateError ↔ HttpError Function(dynamic data)?
getter/setter pair
validateResponse ↔ dynamic Function(dynamic map)?
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited