KaiselShellSnapshot class

A branched shell: the active branch and every branch's own stack.

Constructors

KaiselShellSnapshot({required String type, required int activeBranch, required int branchCount, required List<KaiselBranchSnapshot> branches})
Create a shell snapshot.
const

Properties

activeBranch int
Index of the active branch.
final
branchCount int
Number of branches.
final
branches List<KaiselBranchSnapshot>
Each branch's snapshot.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
The shell'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