Dart API Reference
dart:html
ServiceWorkerGlobalScope
ServiceWorkerGlobalScope
class
Annotations
DocsEditable()
DomName('ServiceWorkerGlobalScope')
Experimental()
Extends
Object
EventTarget
WorkerGlobalScope
ServiceWorkerGlobalScope
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
navigator
_WorkerNavigator
Inherited
read-only
performance
WorkerPerformance
Inherited
read-only
self
WorkerGlobalScope
Inherited
read-only
onError
Stream
<
Event
>
Inherited
read-only
Instance Methods
close
(
) →
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
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