name top-level property

String get name

Returns dedicatedWorkerGlobal's name, i.e. the value given to the Worker constructor. Primarily useful for debugging.

MDN Reference

Implementation

_i2.String get name => _i4.getProperty(
      _self,
      'name',
    );