MessageEventInit<T> constructor

MessageEventInit<T>({
  1. dynamic data,
  2. String? lastEventId,
  3. String? origin,
  4. List<MessagePort>? ports,
  5. MessageEventSource? source,
  6. bool? bubbles,
  7. bool? cancelable,
  8. bool? composed,
})

Implementation

factory MessageEventInit({
  _i2.dynamic data,
  _i2.String? lastEventId,
  _i2.String? origin,
  _i2.List<_i3.MessagePort>? ports,
  _i3.MessageEventSource? source,
  _i2.bool? bubbles,
  _i2.bool? cancelable,
  _i2.bool? composed,
}) =>
    MessageEventInit._(
      data: data,
      lastEventId: lastEventId,
      origin: origin,
      ports: ports,
      source: source ?? _i6.undefined ?? _i6.undefined,
      bubbles: bubbles,
      cancelable: cancelable,
      composed: composed,
    );