RequestOptions class
Constructors
-
RequestOptions({required String method, required Uri uri, Map<
String, String> ? headers, dynamic body, Duration? timeout, ProgressCallback? onProgress, CancelToken? cancelToken})
Properties
- body ↔ dynamic
-
getter/setter pair
- cancelToken ↔ CancelToken?
-
getter/setter pair
-
extra
→ Map<
String, dynamic> -
Retry/işaret/özel bayraklar
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
headers
↔ Map<
String, String> -
getter/setter pair
- method ↔ String
-
getter/setter pair
- onProgress ↔ ProgressCallback?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timeout ↔ Duration?
-
getter/setter pair
- uri ↔ Uri
-
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