Request class
Request class contains members to hold network request information.
Constructors
Properties
- data → dynamic
-
The payload.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
headers
→ Map<
String, dynamic> ? -
Headers to encompass content-types.
final
- method → RequestMethods?
-
An HTTP method such as RequestMethods.get or RequestMethods.post.
final
-
queryParameters
→ Map<
String, dynamic> ? -
Query parameters to encompass additional parameters to the query.
final
- route → Pattern?
-
This is the route specified by the client- expected to be String or RegExp.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- signature → String
-
signature is the String representation of the Request's body.
no setter
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