BatchStarted class

Marks the start of a batch operation.

Extensions should accumulate events until BatchEnded is received, then treat them as a single undoable operation.

Example batch reasons:

  • "multi-node-move" - dragging multiple selected nodes
  • "paste" - pasting multiple nodes/connections
  • "delete-selection" - deleting multiple items
Inheritance

Constructors

BatchStarted(String reason)
const

Properties

hashCode int
The hash code for this object.
no setterinherited
reason String
A descriptive name for this batch operation.
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.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited