ServiceWorkerGlobalScope class

Annotated by:
  • DocsEditable()
  • DomName('ServiceWorkerGlobalScope')
  • Experimental()
Extends:

Constants

messageEvent = const EventStreamProvider<MessageEvent>('message')

Instance Properties

caches CacheStorage
read-only
clients ServiceWorkerClients
read-only
scope String
read-only
onMessage Stream<MessageEvent>
read-only
on Events Inherited
read-only
console WorkerConsole Inherited
read-only
crypto Crypto Inherited
read-only
indexedDB IdbFactory Inherited
read-only
location _WorkerLocation Inherited
read-only
read-only
performance WorkerPerformance Inherited
read-only
self WorkerGlobalScope Inherited
read-only
onError Stream<Event> Inherited
read-only

Instance Methods

close ( ) → void
addEventListener Inherited ( String type, dynamic listener(Event event), [bool useCapture] ) → void
removeEventListener Inherited ( String type, dynamic listener(Event event), [bool useCapture] ) → void
dispatchEvent Inherited ( Event event ) → bool
importScripts Inherited ( String urls ) → void
webkitRequestFileSystem Inherited ( int type, int size ) → Future<FileSystem>
requestFileSystemSync Inherited ( int type, int size ) → _DOMFileSystemSync
resolveLocalFileSystemSyncUrl Inherited ( String url ) → _EntrySync
webkitResolveLocalFileSystemUrl Inherited ( String url ) → Future<Entry>
atob Inherited ( String string ) → String
btoa Inherited ( String string ) → String