raiseDiagramEvent method

void raiseDiagramEvent(
  1. DiagramEventName name, [
  2. Object? obj,
  3. dynamic param
])

(undocumented) Notify any DiagramEvent listeners by calling all event handlers registered by #addDiagramListener. @param {string} name the name is normally capitalized, but this method uses case-insensitive comparison. @param {Object=} obj an optional subject of the event. @param {*=} param an optional parameter describing the change to the subject of the event. @see #addDiagramListener @see #removeDiagramListener

Implementation

void raiseDiagramEvent(
  _i3.DiagramEventName name, [
  _i2.Object? obj,
  _i2.dynamic param,
]) {
  _i4.callMethod(
    this,
    'raiseDiagramEvent',
    [
      name.name,
      obj ?? _i5.undefined,
      param,
    ],
  );
}