MessageEventInit constructor
MessageEventInit({
- dynamic data,
- String? origin,
- String? lastEventId,
- dynamic source,
- Iterable<
MessagePort> ? ports,
Implementation
factory MessageEventInit(
{dynamic data,
String? origin,
String? lastEventId,
dynamic source,
Iterable<MessagePort>? ports}) =>
MessageEventInit._(
data: data ?? undefined,
origin: origin ?? '',
lastEventId: lastEventId ?? '',
source: source ?? undefined,
ports: ports ?? const []);