removeDiagramListener method
Unregister a DiagramEvent handler.
See the documentation for DiagramEvent for a complete listing of diagram event names and their purposes. @param {string} name the name is normally capitalized, but this method uses case-insensitive comparison. @param {function(DiagramEvent)} listener a function that takes a DiagramEvent as its argument. @see #addDiagramListener
Implementation
void removeDiagramListener(
_i3.DiagramEventName name,
void Function(_i3.DiagramEvent) listener,
) {
_i4.callMethod(
this,
'removeDiagramListener',
[
name.name,
_i4.allowInterop(listener),
],
);
}