Event constructor

Event(
  1. String type, [
  2. EventInit? eventInitDict
])

Implementation

factory Event(
  _i2.String type, [
  _i3.EventInit? eventInitDict,
]) =>
    _i4.callConstructor(
      _declaredEvent,
      [
        type,
        eventInitDict ?? _i6.undefined,
      ],
    );