RequestData class final
What a ContextProvider sees of the incoming request.
Deliberately framework-neutral (and shaped like RequestData in Genkit JS
and Go) so the same auth code works with dart:io, shelf, or any other
adapter.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
headers
→ Map<
String, String> -
Request headers with lowercased names, e.g.
headers['authorization'].final - input → Object?
-
The action input from the request body, already parsed with the action's
input schema (null when the body has no
data).final - method → String
-
The HTTP method, e.g.
POST.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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