ApiRequest class
Incoming API request
Constructors
Properties
- body → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
headers
→ Map<
String, String> -
final
- json → dynamic
-
Parse body as JSON
no setter
- method → String
-
final
-
params
→ Map<
String, String> -
final
- path → String
-
final
-
query
→ Map<
String, String> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getHeader(
String key) → String? - Get a specific header
-
getParam(
String key) → String? - Get a specific path parameter
-
getQuery(
String key) → String? - Get a specific 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