dart:html
WorkerGlobalScope class
- Inheritance
- Implements
-
- Implemented by
- Annotations
- @Native("WorkerGlobalScope")
Properties
- addressSpace → String
final
- caches → CacheStorage
final
- crypto → Crypto
final
- indexedDB → IdbFactory
final
- isSecureContext → bool
final
- location → _WorkerLocation
final
- navigator → _WorkerNavigator
final
- onError → Stream<Event>
read-only
- Stream of
error
events handled by this WorkerGlobalScope. - origin → String
final
- performance → WorkerPerformance
final
- self → WorkerGlobalScope
final
- hashCode → int
read-only, inherited
- The hash code for this object. [...]
- on → Events
read-only, inherited
- This is an ease-of-use accessor for event streams which should only be used when an explicit accessor is not available.
- runtimeType → Type
read-only, inherited
- A representation of the runtime type of the object.
Methods
- atob(String atob) → String
- btoa(String btoa) → String
- fetch(dynamic input, [ Map init ]) → Future
- importScripts(String urls) → void
- addEventListener(String type, EventListener listener, [ bool useCapture ]) → void
inherited
- dispatchEvent(Event event) → bool
inherited
- noSuchMethod(Invocation invocation) → dynamic
inherited
- Invoked when a non-existent method or property is accessed. [...]
- removeEventListener(String type, EventListener listener, [ bool useCapture ]) → void
inherited
- toString() → String
inherited
- Returns a string representation of this object.
Operators
- operator ==(dynamic other) → bool
inherited
- The equality operator. [...]
Constants
- errorEvent → const EventStreamProvider<Event>
- Static factory designed to expose
error
events to event handlers that are not necessarily instances of WorkerGlobalScope
. [...] const EventStreamProvider<Event>('error')