CustomEvent<T> constructor

CustomEvent<T>(
  1. String type, [
  2. CustomEventInit<T>? eventInitDict
])

Implementation

factory CustomEvent(
  _i2.String type, [
  _i3.CustomEventInit<T>? eventInitDict,
]) =>
    _i4.callConstructor(
      _declaredCustomEvent,
      [
        type,
        eventInitDict ?? _i6.undefined,
      ],
    );