Shift constructor
const
Shift({
- required String id,
- required String drawerId,
- String? cashregisterId,
- required int number,
- required String status,
- String? openedAt,
- ShiftActor? openedBy,
- String? openedDeviceId,
- String? closedAt,
- ShiftActor? closedBy,
- String? closedDeviceId,
- int? openingFloatCents,
- Map<
String, int> ? openingDenominations, - bool? openingFloatTakenOver,
- String? comment,
- bool? blind,
- int? countedCents,
- int? suggestedFloatCents,
- ShiftRunningTotals? runningTotals,
- int? expectedCents,
- int? differenceCents,
- ShiftReconciliation? reconciliation,
- AfterCount? afterCount,
- int? leftInDrawerCents,
- bool? openingCounted,
- List<
ShiftExpectedPart> ? expectedParts, - int? cashTipsInDrawerCents,
- int? interimCounts,
- int? interimDifferenceCents,
- List<
ShiftDifferencePart> ? differenceParts, - int? countedBeforePayoutCents,
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,
this.openingCounted,
this.expectedParts,
this.cashTipsInDrawerCents,
this.interimCounts,
this.interimDifferenceCents,
this.differenceParts,
this.countedBeforePayoutCents,
});