MessageEvent<T> constructor

MessageEvent<T>(
  1. String type, [
  2. MessageEventInit<T>? eventInitDict
])

Implementation

factory MessageEvent(
  _i2.String type, [
  _i3.MessageEventInit<T>? eventInitDict,
]) =>
    _i4.callConstructor(
      _declaredMessageEvent,
      [
        type,
        eventInitDict ?? _i6.undefined,
      ],
    );