WorkerOptions constructor

WorkerOptions({
  1. RequestCredentials? credentials,
  2. String? name,
  3. WorkerType? type,
})

Implementation

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