QuickRequest class

Zincirleme QuickRequest API

Constructors

QuickRequest({String? baseUrl, List<QuickInterceptor> interceptors = const [], CacheManager? cacheManager})

Properties

baseUrl String?
final
cacheManager CacheManager?
final
hashCode int
The hash code for this object.
no setterinherited
interceptors List<QuickInterceptor>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

body(dynamic body) QuickRequest
cancelToken(CancelToken token) QuickRequest
delete<T>({FromJson<T>? fromJson, bool expectJsonArray = false}) Future<ResponseModel<T>>
DELETE
get<T>({FromJson<T>? fromJson, bool expectJsonArray = false, bool useCache = false}) Future<ResponseModel<T>>
GET
headers(Map<String, String> headers) QuickRequest
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onProgress(ProgressCallback callback) QuickRequest
patch<T>({FromJson<T>? fromJson, bool expectJsonArray = false}) Future<ResponseModel<T>>
PATCH
pathParams(Map<String, dynamic> params) QuickRequest
post<T>({FromJson<T>? fromJson, bool expectJsonArray = false}) Future<ResponseModel<T>>
POST
put<T>({FromJson<T>? fromJson, bool expectJsonArray = false}) Future<ResponseModel<T>>
PUT
query(Map<String, dynamic> params) QuickRequest
timeout(Duration duration) QuickRequest
toString() String
A string representation of this object.
inherited
url(String path) QuickRequest
Zincirleme fonksiyonlar:

Operators

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