toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  json[r'id'] = id;
  json[r'date'] = date.toIso8601String();
  json[r'employeeId'] = employeeId;
  json[r'organizationId'] = organizationId;
  return json;
}