Shift constructor

const Shift({
  1. required String id,
  2. required String drawerId,
  3. String? cashregisterId,
  4. required int number,
  5. required String status,
  6. String? openedAt,
  7. ShiftActor? openedBy,
  8. String? openedDeviceId,
  9. String? closedAt,
  10. ShiftActor? closedBy,
  11. String? closedDeviceId,
  12. int? openingFloatCents,
  13. Map<String, int>? openingDenominations,
  14. bool? openingFloatTakenOver,
  15. String? comment,
  16. bool? blind,
  17. int? countedCents,
  18. int? suggestedFloatCents,
  19. ShiftRunningTotals? runningTotals,
  20. int? expectedCents,
  21. int? differenceCents,
  22. ShiftReconciliation? reconciliation,
  23. AfterCount? afterCount,
  24. int? leftInDrawerCents,
})

Implementation

const Shift({
  required this.id,
  required this.drawerId,
  this.cashregisterId,
  required this.number,
  required this.status,
  this.openedAt,
  this.openedBy,
  this.openedDeviceId,
  this.closedAt,
  this.closedBy,
  this.closedDeviceId,
  this.openingFloatCents,
  this.openingDenominations,
  this.openingFloatTakenOver,
  this.comment,
  this.blind,
  this.countedCents,
  this.suggestedFloatCents,
  this.runningTotals,
  this.expectedCents,
  this.differenceCents,
  this.reconciliation,
  this.afterCount,
  this.leftInDrawerCents,
});