QUERY<T> class abstract

Constructors

QUERY()

Properties

api String
no setter
auth Map<String, dynamic>
no setter
body → dynamic
no setter
connectTimeout int
final
dioErrorTypeCancel String
getter/setter pairinherited
dioErrorTypeConnectTimeout String
getter/setter pairinherited
dioErrorTypeMore String
getter/setter pairinherited
dioErrorTypeOther String
getter/setter pairinherited
dioErrorTypeReceiveTimeout String
getter/setter pairinherited
dioErrorTypeSendTimeout String
getter/setter pairinherited
endPoint String
no setter
hashCode int
The hash code for this object.
no setterinherited
no setter
host String
getter/setter pair
message String
getter/setter pairinherited
queryMethod QueryMethod
no setter
queryParameters Map<String, dynamic>?
no setter
receiveTimeout int
final
responseType → ResponseType
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sendTimeout int
final
url String
no setter

Methods

common() → Dio
fromDioError(DioError dioError) String
inherited
handleError(int? statusCode, dynamic error) String
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onSuccess({required dynamic body, dynamic onDataError(String error)?}) Future<T?>
request({required dynamic onSuccess(T? data)?, dynamic onError(String error)?}) Future
result({required Response result, required dynamic onSuccess(dynamic data)?}) → dynamic
toString() String
A string representation of this object.
inherited

Operators

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