name property
String
get
name
Returns sharedWorkerGlobal's name, i.e. the value given to the SharedWorker constructor. Multiple SharedWorker objects can correspond to the same shared worker (and SharedWorkerGlobalScope), by reusing the same name.
Implementation
_i2.String get name => _i4.getProperty(
this,
'name',
);