TemplateContext class
Structured request data exposed to template placeholders.
Constructors
Properties
- body → Object?
-
Parsed request body, when one is present.
final
-
extra
→ Map<
String, Object?> -
Additional arbitrary bindings.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
path
→ Map<
String, String> -
Path parameters captured from routes such as
/users/:id.final -
query
→ Map<
String, String> -
Query parameters from the incoming request.
final
-
record
→ Map<
String, Object?> ? -
Current store record being rendered, when applicable.
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