ApiRequest class
Constructors
Properties
-
bodyData
→ Stream<
List< int> > -
final
- context → RequestContext
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
headers
→ Map<
String, List< String> > -
final
- method → ApiRequestMethod
-
final
-
queryParams
→ Map<
String, String> -
final
- route → Route
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getByteBody(
) → Future< Uint8List> - Returns a Uint8List of the body data.
-
getJsonBody(
) → Future< Map< String, dynamic> > - Returns a Map<String, dynamic> representation of json body data.
-
getParam<
T> (String name) → T - Returns the named query parameter.
-
getTextBody(
) → Future< String> - Returns a String representation of the body data.
-
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