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

data Object?
final
hashCode int
The hash code for this object.
no setterinherited
routeUri Uri
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
version int
final

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