CustomEvent<T> constructor

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

Implementation

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