BaseRequest class abstract

Constructors

BaseRequest()

Properties

authInfo AuthInfo
subclass should call super and merge the data when inherit.
getter/setter pair
authType AuthType
no setter
baseUrl String
no setter
cancelled bool
no setter
cancelToken CancelToken
getter/setter pair
connectTimeout int
connect timeout in milliseconds
no setter
error CmdError?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
receiveTimeout int
receive timeout in milliseconds
no setter
requestArgument Map<String, dynamic>?
no setter
requestHeader Map<String, dynamic>?
no setter
requestMethod HttpRequestMethod
no setter
requestUrl String
no setter
response Response?
getter/setter pair
result Result
This property CAN NOT be used before request finished.
latefinal
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sendTimeout int
send timeout in milliseconds
no setter

Methods

getRequiredInterceptors() List<Interceptor>
jsonValidate(Response response) bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
start() Future<Result>
stop() → void
toString() String
A string representation of this object.
inherited

Operators

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