ClockAction class
The attendance record the server writes for a punch.
Constructors
- ClockAction({DateTime? clockInAt, DateTime? clockOutAt, DateTime? scheduledOpeningAt, int lateMinutes = 0, String? status, double? latePenaltyAmount})
-
const
-
ClockAction.fromJson(Map<
String, dynamic> json) -
factory
Properties
- clockInAt → DateTime?
-
final
- clockOutAt → DateTime?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isLate → bool
-
no setter
- lateMinutes → int
-
final
- latePenaltyAmount → double?
-
final
- punctuality → String
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scheduledOpeningAt → DateTime?
-
final
- status → String?
-
final
Methods
-
formattedTime(
{required bool clockingIn, DateTime? fallbackTime}) → String -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
timeOf(
{required bool clockingIn}) → DateTime? -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited