KaiselInspectable class abstract interface

What a root (the delegate) exposes to the KaiselInspector.

The delegate is the hub: it knows the main router, the registered nested handles (shells/modules), and the active flows, so one debugSnapshot covers a whole root. debugRevision fires whenever that snapshot would change.

Properties

debugRevision → KaiselListenable
Notifies whenever debugSnapshot would change.
no setter
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

debugApplyCommand(Map<String, Object?> command) → Future<Map<String, Object?>>
Apply a write command from DevTools (drive the app). Returns {'ok': bool, 'message': String}. Debug only.
debugDecode(String url) → List<String>?
Decode url through this root's codec into a human-readable preview of the resulting stack, without navigating. Returns null if there's no codec or the URL doesn't decode. Powers the extension's deep-link preview.
debugSnapshot() → KaiselRootSnapshot
A snapshot of this root's navigation state.
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