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