Request<Success> class

Available extensions

Constructors

Request.copyWith(Request<Success> request)
factory
Request.http()
factory

Properties

baseUrl ↔ String?
getter/setter pair
body ↔ RequestBody?
getter/setter pair
contentType ↔ RequestContentType?
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
headers ↔ Map<String, dynamic>
getter/setter pair
isIncludeBaseUrl ↔ bool?
getter/setter pair
mappingResponse ↔ Success Function(dynamic body, Response response)?
getter/setter pair
method ↔ String
getter/setter pair
queryParameter ↔ Map<String, dynamic>
getter/setter pair
queryParameters ↔ List<Map<String, dynamic>>
getter/setter pair
queryParametersString → String
no setter
requestInterceptor ↔ RequestInterceptor?
getter/setter pair
responseInterceptor ↔ ResponseInterceptor?
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
url ↔ String?
getter/setter pair

Methods

fetch({Dio? dio, CancelToken? cancelToken, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress}) → Future<Response<Success>>

Available on Request<Success>, provided by the RequestFetch extension

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

Operators

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