RequestOptions class final
Represents options for configuring a request to an endpoint.
Constructors
Properties
- body → dynamic
-
Custom request body.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
-
headers
→ Map<
String, dynamic> -
Header names to their respective values to be sent with the request.
final
- readTimeout → Duration?
-
The read timeout for the request in milliseconds.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
urlParameters
→ Map<
String, dynamic> -
URL parameter names to their respective values to be appended to the request URL.
final
- writeTimeout → Duration?
-
The write timeout for the request in milliseconds.
final
Methods
-
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.
override