Worker constructor
Worker(
- dynamic _entryPoint, {
- List args = const [],
- PlatformWorkerHook? platformWorkerHook,
Creates a Worker with the specified entrypoint.
Implementation
Worker(this._entryPoint, {this.args = const [], this.platformWorkerHook});