LockInfo constructor

LockInfo({
  1. String? name,
  2. LockMode? mode,
  3. String? clientId,
})

Implementation

factory LockInfo({String? name, LockMode? mode, String? clientId}) =>
    LockInfo._(
        name: name ?? undefined,
        mode: mode?.value ?? undefined,
        clientId: clientId ?? undefined);