changeState method

void changeState(
  1. ChangedEvent e,
  2. bool undo
)

(undocumented) This is called during an undo or redo to modify the model or its objects.

This does not raise a ChangedEvent. @expose @param {ChangedEvent} e This describes the change that needs to be done. @param {boolean} undo If true, this method should restore the older state, otherwise the newer state.

Implementation

void changeState(
  _i3.ChangedEvent e,
  _i2.bool undo,
) {
  _i4.callMethod(
    this,
    'changeState',
    [
      e,
      undo,
    ],
  );
}