Worker constructor

Worker(
  1. dynamic _entryPoint, {
  2. List args = const [],
  3. PlatformWorkerHook? platformWorkerHook,
})

Creates a Worker with the specified entrypoint.

Implementation

Worker(this._entryPoint, {this.args = const [], this.platformWorkerHook});