Request class
Constructors
Properties
-
body
→ Stream<
List< ?int> > -
Body
final
- contentType → String?
-
Content type
final
- encoding → Encoding?
-
Encoding
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
headers
→ Map<
String, String> -
Headers
final
-
headersAll
→ Map<
String, List< String> > -
All headers
final
- method → String
-
Method
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- url → Uri
-
Uri
final
Methods
-
getParam(
String key, {dynamic defaultValue}) → dynamic - Get parameter with matching key or return default value
-
getParams(
) → Future< Map< String, dynamic> > - Get all the parameters
-
getPayload(
String key, {dynamic defaultValue}) → dynamic - Get payload
-
getQuery(
String key, {dynamic defaultValue}) → dynamic - Get query parameter
-
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