AttendanceOverviewDataModel class

Model class for attendance overview data.

Constructors

AttendanceOverviewDataModel({required int present, required int ontime, required int clockoutEarly, required int late, required int absent, required int holiday, required String totalWorkHours, required String totalLateHours, required String totalEarlyHours, required String totalAbsentHours, required int totalLeaves, required int totalRemainingLeaves})
AttendanceOverviewDataModel.fromJson(Map<String, dynamic> json)
Constructs an instance of AttendanceOverviewDataModel from a JSON object.
factory

Properties

absent int
final
clockoutEarly int
final
hashCode int
The hash code for this object.
no setterinherited
holiday int
final
late int
final
ontime int
final
present int
final
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
totalAbsentHours String
final
totalEarlyHours String
final
totalLateHours String
final
totalLeaves int
final
totalRemainingLeaves int
final
totalWorkHours String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts this AttendanceOverviewDataModel instance to a JSON object.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited