initMessageEvent method

void initMessageEvent(
  1. String type, [
  2. bool bubbles,
  3. bool cancelable,
  4. JSAny? data,
  5. String origin,
  6. String lastEventId,
  7. MessageEventSource? source,
  8. JSArray<MessagePort> ports,
])

Implementation

external void initMessageEvent(
  String type, [
  bool bubbles,
  bool cancelable,
  JSAny? data,
  String origin,
  String lastEventId,
  MessageEventSource? source,
  JSArray<MessagePort> ports,
]);