ExtendableMessageEvent class

The interface of the Service Worker API represents the event object of a message event fired on a service worker (when a message is received on the ServiceWorkerGlobalScope from another context) — extends the lifetime of such events. This interface inherits from the ExtendableEvent interface.

Event

ExtendableEvent

ExtendableMessageEvent

Implemented types
Available Extensions
Annotations
  • @experimental
  • @JS()
  • @staticInterop

Constructors

ExtendableMessageEvent(String type, [ExtendableMessageEventInit? eventInitDict])
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited