RequestOptions class

Constructors

RequestOptions({required String url, OfflinePolicyAction? offlinePolicyAction, SlowNetworkPolicyAction? slowNetworkPolicyAction, Map<String, String?>? headers, bool? cancelOnDispose, ExecutionMode? executionMode = ExecutionMode.direct, RequestBody? body, CacheOptions? cacheOptions})

Properties

body ↔ RequestBody?
getter/setter pair
cacheOptions ↔ CacheOptions?
getter/setter pair
cancelOnDispose ↔ bool?
getter/setter pair
executionMode ↔ ExecutionMode?
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
headers ↔ Map<String, String?>?
getter/setter pair
id ↔ String?
getter/setter pair
offlinePolicyAction ↔ OfflinePolicyAction?
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
slowNetworkPolicyAction ↔ SlowNetworkPolicyAction?
getter/setter pair
url ↔ String
getter/setter pair

Methods

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

Operators

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