KaiselNavSnapshot class

A full navigation snapshot: the schema version plus one entry per live root (usually exactly one delegate).

Constructors

KaiselNavSnapshot({int version = 1, required List<KaiselRootSnapshot> roots})
Create a snapshot of roots at schema version.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
roots List<KaiselRootSnapshot>
One snapshot per live root (delegate).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
version int
Schema version. Bumped only on breaking changes; additive changes keep the same version and consumers ignore unknown fields.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object?>
Serialise to the wire format consumed by the extension.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited