CarpenterTreeMoved<T> class final

Moves a loaded node under parentId, or to the root when it is null.

The node object itself is preserved. Moving a node into itself or one of its descendants, or targeting a missing parent, is rejected as a no-op.

Inheritance

Constructors

CarpenterTreeMoved({required Object id, Object? parentId, int? index})
Creates a reparent/reorder patch for stable node id.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
id Object
Stable id of the loaded node to move.
final
index int?
Optional destination index, clamped to the destination bounds.
final
parentId Object?
Stable destination parent id, or null to move to the root.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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