OrbitUndoEntry class
Represents a single store state change record in Orbit's undo/redo history.
- Inheritance
-
- Object
- OrbitUndoItem
- OrbitUndoEntry
Constructors
-
OrbitUndoEntry({required OrbitStore store, required Map<
String, Object?> before, required Map<String, Object?> after, String? label})
Properties
-
after
→ Map<
String, Object?> -
The state snapshot captured after the mutation completed.
final
-
before
→ Map<
String, Object?> -
The state snapshot captured before the mutation ran.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- label → String?
-
Optional action label of the mutation that produced this record.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- store → OrbitStore
-
The store instance that was mutated (must mix in Undoable).
final
Methods
-
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