Inheritance
Annotations
  • DocsEditable()
  • DomName('ServiceWorkerGlobalScope')
  • Experimental()

Constants

messageEvent → EventStreamProvider<MessageEvent>

const const EventStreamProvider<MessageEvent>('message')

Static Methods

internalCreateServiceWorkerGlobalScope() → ServiceWorkerGlobalScope

Constructors

ServiceWorkerGlobalScope.internal_()

Properties

The underlying JS DOM object.

read / write, inherited
caches → CacheStorage

read-only
clients → ServiceWorkerClients

read-only
console → WorkerConsole

read-only, inherited
crypto → Crypto

read-only, inherited
hashCode → int

read-only, inherited
indexedDB → IdbFactory

read-only, inherited
location → _WorkerLocation

read-only, inherited

read-only, inherited
on → Events

This is an ease-of-use accessor for event streams which should only be used when an explicit accessor is not available.

read-only, inherited
onError → Stream<Event>

Stream of error events handled by this WorkerGlobalScope.

read-only, inherited
onMessage → Stream<MessageEvent>

read-only
performance → WorkerPerformance

read-only, inherited
runtimeType → Type

A representation of the runtime type of the object.

read-only, inherited
scope → String

read-only
self → WorkerGlobalScope

read-only, inherited

Operators

operator ==(other) → bool

The equality operator.…

inherited

Methods

addEventListener(String type, EventListener listener(Event event), [bool useCapture]) → void

inherited
atob(String string) → String

inherited
btoa(String string) → String

inherited
close() → void

dispatchEvent(Event event) → bool

inherited
importScripts(String urls) → void

inherited
noSuchMethod(Invocation invocation) → dynamic

Invoked when a non-existent method or property is accessed.…

inherited
removeEventListener(String type, EventListener listener(Event event), [bool useCapture]) → void

inherited
requestFileSystemSync(int type, int size) → _DOMFileSystemSync

inherited
resolveLocalFileSystemSyncUrl(String url) → _EntrySync

inherited
toString() → String

Returns a string representation of this object.

inherited
webkitRequestFileSystem(int type, int size) → Future<FileSystem>

inherited
webkitResolveLocalFileSystemUrl(String url) → Future<Entry>

inherited