LockOptions constructor
LockOptions({
- LockMode? mode,
- bool? ifAvailable,
- bool? steal,
- AbortSignal? signal,
Implementation
factory LockOptions(
{LockMode? mode,
bool? ifAvailable,
bool? steal,
AbortSignal? signal}) =>
LockOptions._(
mode: mode?.value ?? LockMode.exclusive.value,
ifAvailable: ifAvailable ?? false,
steal: steal ?? false,
signal: signal ?? undefined);