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
read / write
cancelToken CancelToken
read / write
checkDataEmpty bool
read / write
codeKey String
read / write
contentType String
read / write
data ↔ dynamic
read / write
dataKey String
read / write
handleRes ↔ dynamic Function(dynamic map)
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
isFormData bool
read / write
method String
read / write
msgKey String
read / write
onError ↔ dynamic Function(HttpData httpData)
read / write
onFinish Function
read / write
onReceiveProgress ProgressCallback
read / write
onSendProgress ProgressCallback
read / write
onStart Function
read / write
onSuccess ↔ dynamic Function(HttpData httpData)
read / write
options Options
read / write
publicMethod bool
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
successCode String
read / write
url String
read / write
useLoadMore bool
read / write
validateError HttpError Function(dynamic data)
read / write
validateResponse ValidateResponse
read / write

Methods

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

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited