ActionCommitted class
A committed action with stable actionId and affected nodeIds.
- Available extensions
Constructors
-
ActionCommitted({required String actionId, required ActionType type, required List<
NodeId> nodeIds, required int timestampMs, Map<String, Object?> ? payload}) -
const
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
tryDrawStyle(
) → ({int colorArgb, double thickness, String tool})? -
Available on ActionCommitted, provided by the ActionCommittedDelta extension
Parses common draw style metadata from the action payload. -
tryEraserThickness(
) → double? -
Available on ActionCommitted, provided by the ActionCommittedDelta extension
Parses eraser metadata from the action payload. -
tryMoveLayerIndices(
) → ({int sourceLayerIndex, int targetLayerIndex})? -
Available on ActionCommitted, provided by the ActionCommittedDelta extension
Parses layer move metadata from the action payload. -
tryTransformDelta(
) → Transform2D? -
Available on ActionCommitted, provided by the ActionCommittedDelta extension
Parsespayload.deltainto a Transform2D when present and valid.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited