copyWith method

LockRow copyWith({
  1. String? operation,
  2. String? holder,
  3. Value<PreciseDateTime?> lockedAt = const Value.absent(),
})

Implementation

LockRow copyWith(
        {String? operation,
        String? holder,
        Value<PreciseDateTime?> lockedAt = const Value.absent()}) =>
    LockRow(
      operation: operation ?? this.operation,
      holder: holder ?? this.holder,
      lockedAt: lockedAt.present ? lockedAt.value : this.lockedAt,
    );