worker top-level property

dynamic get worker

This Web Workers API interface represents a background task that can be easily created and can send messages back to its creator. Creating a worker is as simple as calling the Worker() constructor and specifying a script to be run in the worker thread.

MDN Reference

Implementation

_i2.dynamic get worker => _i4.getProperty(
      _self,
      'Worker',
    );