Request class
Provides a Request which will contain the details for the request which needs to be done.
uri : the other path like the endpoint headers : headers which needs to be added to the default header of the request
body : If any body is required to be added to the request.
type : Contains what is the type of the request from the RequestType list.
Constructors
Properties
- body ↔ Object?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
headers
↔ Map<
String, String> ? -
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type ↔ RequestType
-
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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited