JUndoHistoryState class

Immutable metadata for a controller's history, separate from domain state.

Inheritance

Constructors

JUndoHistoryState({bool enabled = false, int undoCount = 0, int redoCount = 0})
const

Properties

canRedo → bool
no setter
canUndo → bool
no setter
enabled → bool
final
hashCode → int
The hash code for this object.
no setterinherited
props → List<Object?>
The list of properties used to determine equality.
no setteroverride
redoCount → int
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stringify → bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
undoCount → int
final

Methods

copyWith({bool? enabled, int? undoCount, int? redoCount}) → JUndoHistoryState
Creates a copy of the current state with optional modifications.
override
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