name property

String get name

The name read-only property of the SharedWorkerGlobalScope interface returns the name that the SharedWorker was (optionally) given when it was created. This is the name that the SharedWorker.SharedWorker constructor can pass to get a reference to the SharedWorkerGlobalScope.

Implementation

external String get name;