AttendanceDetailResponseModel class

The AttendanceDetailResponseModel class represents a response model for attendance details.

This model contains a list of AttendanceDetailModel instances, along with additional information such as the total hours and metadata of the attendance data.

Constructors

AttendanceDetailResponseModel({required List<AttendanceDetailModel> data, String? totalHours, MetaData? meta})
Creates a new instance of the AttendanceDetailResponseModel class.
AttendanceDetailResponseModel.fromJson(Map<String, dynamic> json)
Creates a new instance of the AttendanceDetailResponseModel class from a JSON map.
factory

Properties

data List<AttendanceDetailModel>
The list of attendance detail models.
final
hashCode int
The hash code for this object.
no setterinherited
meta MetaData?
Additional metadata related to the attendance data.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
totalHours String?
The total hours of attendance.
final

Methods

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

Operators

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