dedicatedWorkerGlobalScope top-level property

dynamic dedicatedWorkerGlobalScope

(the Worker global scope) is accessible through the self keyword. Some additional global functions, namespaces objects, and constructors, not typically associated with the worker global scope, but available on it, are listed in the JavaScript Reference. See also: Functions available to workers.

MDN Reference

Implementation

_i2.dynamic get dedicatedWorkerGlobalScope => _i4.getProperty(
      _self,
      'DedicatedWorkerGlobalScope',
    );