LockOptions constructor

LockOptions({
  1. bool? ifAvailable,
  2. LockMode? mode,
  3. AbortSignal? signal,
  4. bool? steal,
})

Implementation

factory LockOptions({
  _i2.bool? ifAvailable,
  _i3.LockMode? mode,
  _i3.AbortSignal? signal,
  _i2.bool? steal,
}) =>
    LockOptions._(
      ifAvailable: ifAvailable,
      mode: mode?.name ?? _i6.undefined,
      signal: signal ?? _i6.undefined,
      steal: steal,
    );