KaiselEntrySnapshot class

One stack entry: its identity-stable id, route type, props, and label.

Constructors

KaiselEntrySnapshot({required int id, required String type, required List<String> props, required String label, bool absorbed = false})
Create an entry snapshot.
const

Properties

absorbed bool
Whether this entry is absorbed into the rendered page above it (adaptive master-detail) — it has no Navigator page of its own at the current breakpoint. False for non-adaptive stacks.
final
hashCode int
The hash code for this object.
no setterinherited
id int
Identity-stable entry id (preserved across value-equal routes). Index- based for stacks without entry identity (branches/modules).
final
label String
The route's toString().
final
props List<String>
Each declared prop, stringified.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
The route's runtime type name.
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.
toString() String
A string representation of this object.
inherited

Operators

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