CashMovement constructor

const CashMovement({
  1. required String id,
  2. required int number,
  3. String? shiftId,
  4. required String type,
  5. required int amountCents,
  6. String? location,
  7. String? note,
  8. ShiftActor? by,
  9. String? at,
  10. ({String? name, String? registerUserId})? recipient,
  11. ({String? drawerId, String? movementId})? counterpart,
})

Implementation

const CashMovement({
  required this.id,
  required this.number,
  this.shiftId,
  required this.type,
  required this.amountCents,
  this.location,
  this.note,
  this.by,
  this.at,
  this.recipient,
  this.counterpart,
});