Dart SDK
dart:html
DedicatedWorkerGlobalScope
class
DedicatedWorkerGlobalScope
Constants
Properties
Methods
Constants
messageEvent
Properties
onMessage
on
console
crypto
indexedDB
location
navigator
performance
self
onError
Methods
postMessage
addEventListener
removeEventListener
dispatchEvent
close
importScripts
webkitRequestFileSystem
requestFileSystemSync
resolveLocalFileSystemSyncUrl
webkitResolveLocalFileSystemUrl
atob
btoa
(Not documented.)
Annotations
DocsEditable()
DomName('DedicatedWorkerGlobalScope')
Experimental()
Extends
Object
EventTarget
WorkerGlobalScope
DedicatedWorkerGlobalScope
Constants
EventStreamProvider
<
MessageEvent
>
messageEvent
=
const
EventStreamProvider
<
MessageEvent
>
('message')
const
Static factory designed to expose message events to event handlers that are not necessarily instances of
DedicatedWorkerGlobalScope
.
Properties
Stream
<
MessageEvent
>
onMessage
read-only
Stream of message events handled by this [DedicatedWorkerGlobalScope].
Events
on
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.
WorkerConsole
console
read-only ,
inherited
Crypto
crypto
read-only ,
inherited
IdbFactory
indexedDB
read-only ,
inherited
_WorkerLocation
location
read-only ,
inherited
_WorkerNavigator
navigator
read-only ,
inherited
WorkerPerformance
performance
read-only ,
inherited
WorkerGlobalScope
self
read-only ,
inherited
Stream
<
Event
>
onError
read-only ,
inherited
Stream of error events handled by this [WorkerGlobalScope].
Methods
postMessage
(
Object
message
, [
List
<
MessagePort
>
transfer
]) →
void
addEventListener
(
String
type
,
dynamic
listener
(
Event
event
)
, [
bool
useCapture
]) →
void
inherited
removeEventListener
(
String
type
,
dynamic
listener
(
Event
event
)
, [
bool
useCapture
]) →
void
inherited
dispatchEvent
(
Event
event
) →
bool
inherited
close
(
) →
void
inherited
importScripts
(
String
urls
) →
void
inherited
webkitRequestFileSystem
(
int
type
,
int
size
) →
Future
<
FileSystem
>
inherited
requestFileSystemSync
(
int
type
,
int
size
) →
_DOMFileSystemSync
inherited
resolveLocalFileSystemSyncUrl
(
String
url
) →
_EntrySync
inherited
webkitResolveLocalFileSystemUrl
(
String
url
) →
Future
<
Entry
>
inherited
atob
(
String
string
) →
String
inherited
btoa
(
String
string
) →
String
inherited