removeModel method

void removeModel(
  1. Model model
)

Inform this UndoManager that it will no longer be receiving ChangedEvents when the given Model is changed. The model will no longer receive notifications about transactions and undo or redo operations.

You should not call this method during a transaction. If you call this method between transactions when there is a transaction history, you should be careful that there are no ChangedEvents referring to that model in any Transactions. @param {Model} model A Model that this UndoManager should no longer manage. @see #models @see #addModel

Implementation

void removeModel(_i3.Model model) {
  _i4.callMethod(
    this,
    'removeModel',
    [model],
  );
}