Handoff class final
Decodes initial and streamed server-rendering frames.
Constructors
- Handoff({Serializer? serializer})
- Creates a handoff decoder.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
loads
↔ List<
RouteLoadResult> -
Server-rendered loader results in route order.
getter/setter pair
- location ↔ Uri?
-
Canonical server-rendered location.
getter/setter pair
- routerState → RouterInitialState?
-
Converts current state into router initial state.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- serializer → Serializer
-
Serializer used for loader and Query data.
final
Methods
-
apply(
Map< String, Object?> frame, {QueryClient? query}) → void -
Applies one raw frame and optionally hydrates
query. -
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