removeChangedListener method

void removeChangedListener(
  1. void listener(
    1. ChangedEvent
    )
)

Unregister an event handler listener.

This deregistration does not raise a ChangedEvent. In case a Diagram's Model may be replaced, you may prefer calling Diagram#removeModelChangedListener instead of this method. @param {function(ChangedEvent)} listener a function that takes a ChangedEvent as its argument. @see #addChangedListener @see Diagram#removeModelChangedListener

Implementation

void removeChangedListener(void Function(_i3.ChangedEvent) listener) {
  _i4.callMethod(
    this,
    'removeChangedListener',
    [_i4.allowInterop(listener)],
  );
}