Shift class
Eine Schicht. Die Felder nach „Nur mit cashView“ sind null, wenn der
Server sie nicht sendet (kein Recht); null heisst dort „nicht gesendet“
oder „es gibt (noch) keinen Wert“ – nie 0. Ohne das Recht shift sendet
der Server von einer offenen Schicht nur die Grunddaten (id, drawerId,
cashregisterId, number, status, openedAt, openedBy); alles
andere ist dann null, auch openingFloatTakenOver.
Constructors
-
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}) -
const
Properties
- afterCount → AfterCount?
-
Entnommen bzw. eingelegt nach dem Zaehlen;
null, wenn beim Abschluss kein Geld bewegt wurde.final - blind → bool?
-
Wurde blind gezaehlt (nach dem Abschluss); offen
null.final - cashregisterId → String?
-
final
- closedAt → String?
-
final
- closedBy → ShiftActor?
-
final
- closedDeviceId → String?
-
final
- comment → String?
-
final
- countedCents → int?
-
final
- differenceCents → int?
-
final
- drawerId → String
-
final
- expectedCents → int?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
final
- leftInDrawerCents → int?
-
Was danach in der Lade bleibt; nur mit afterCount, blind
null.final - number → int
-
final
- openedAt → String?
-
final
- openedBy → ShiftActor?
-
final
- openedDeviceId → String?
-
final
-
openingDenominations
→ Map<
String, int> ? -
final
- openingFloatCents → int?
-
Startgeld; blind
null, wenn es uebernommen wurde.final - openingFloatTakenOver → bool?
-
Wurde das Startgeld uebernommen;
nullin den Grunddaten ohne Rechtshift.final - reconciliation → ShiftReconciliation?
-
final
- runningTotals → ShiftRunningTotals?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → String
-
openoderclosed.final - suggestedFloatCents → int?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Die Drahtform; Felder, die fehlen (kein Recht), fehlen auch hier.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited