WorkerOptions constructor

WorkerOptions({
  1. Type? type,
  2. String? name,
})

Implementation

factory WorkerOptions({
  _i3.Type? type,
  _i2.String? name,
}) =>
    WorkerOptions._(
      type: type?.name ?? _i6.undefined,
      name: name,
    );