- Inheritance
- Object
- JSObject
- DartHtmlDomObject
- EventTarget
- WorkerGlobalScope
- SharedWorkerGlobalScope
- Annotations
- DocsEditable()
- DomName('SharedWorkerGlobalScope')
- Experimental()
Constants
- connectEvent → EventStreamProvider<Event>
-
Static factory designed to expose
connect
events to event handlers that are not necessarily instances of SharedWorkerGlobalScope.…const EventStreamProvider<Event>
('connect')
Static Properties
- instanceRuntimeType → Type
-
read-only
Constructors
Properties
- caches → CacheStorage
-
read-only, inherited
- 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
- name → String
-
read-only
-
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 - onConnect → Stream<Event>
-
Stream of
connect
events handled by thisSharedWorkerGlobalScope
.read-only - onError → Stream<Event>
-
Stream of
error
events handled by thisWorkerGlobalScope
.read-only, inherited - performance → WorkerPerformance
-
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited - 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 atob) → String -
inherited
-
btoa(
String btoa) → String -
inherited
-
close(
) → void -
inherited
-
dispatchEvent(
Event event) → bool -
inherited
-
fetch(
input, [Map init]) → Future -
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 the result of the JavaScript objects
toString
method.inherited -
webkitRequestFileSystem(
int type, int size) → Future<FileSystem> -
inherited
-
webkitResolveLocalFileSystemUrl(
String url) → Future<Entry> -
inherited