LeaveTimeList class
- Annotations
-
- @JsonSerializable.new()
Constructors
-
LeaveTimeList({Map<
int, User> ? users, Map<int, Department> ? departments, Map<int, TimeZoneGroup> ? timeZoneGroups, required DateTime dateFrom, required DateTime dateTo, DateTime? nextDateFrom, Map<int, LeaveType> ? leaveTypes, required List<LeaveTimeRecord> data}) -
LeaveTimeList.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
data
→ List<
LeaveTimeRecord> -
List of user leave time records
final
- dateFrom → DateTime
-
Start date of returned data
final
- dateTo → DateTime
-
End date of returned data
final
-
departments
→ Map<
int, Department> ? -
Map of user department id to department object.
Contains departments referenced in users referenced in data list.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
leaveTypes
→ Map<
int, LeaveType> ? -
Map of id to leave type. Contains leave types referenced in data list
final
- nextDateFrom → DateTime?
-
If not null, then only partial results were included to satisfy
'stopAfter' parameter - till date specified in 'dateTo'. To request more
you need to repeat your request from date specified in 'nextDateFrom' field.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
timeZoneGroups
→ Map<
int, TimeZoneGroup> ? -
final
-
users
→ Map<
int, User> ? -
Map of user id to user. Contains users referenced in data list.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited