MessageEventInit<T> constructor
MessageEventInit<T> ({
- dynamic data,
- String? lastEventId,
- String? origin,
- List<
MessagePort> ? ports, - MessageEventSource? source,
- bool? bubbles,
- bool? cancelable,
- 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,
);