MessageEvent$Typings<T> extension
Properties
-
data
→ T
-
Returns the data of the message.
no setter
-
initMessageEvent
↔ void Function(String, [bool?, bool?, dynamic, String?, String?, Object?, List<MessagePort>?])
-
getter/setter pair
-
lastEventId
→ String
-
Returns the last event ID string, for server-sent events.
no setter
-
origin
→ String
-
Returns the origin of the message, for server-sent events and cross-document messaging.
no setter
-
ports
→ ReadonlyArray<MessagePort>
-
Returns the MessagePort array sent with the message, for cross-document messaging and channel messaging.
no setter
-
source
→ Object?
-
Returns the WindowProxy of the source window, for cross-document messaging, and the MessagePort being attached, in the connect event fired at SharedWorkerGlobalScope objects.
no setter