RouteHydrationPayload class final
Versioned, immutable payload transferred from route resolution to hydration.
Constructors
- RouteHydrationPayload({required Uri routeUri, int version = currentVersion, Object? data})
- RouteHydrationPayload.decode(String source)
-
factory
-
RouteHydrationPayload.fromJson(Map<
String, Object?> json) -
factory
Properties
Methods
-
encode(
) → String -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- currentVersion → const int
- schema → const String