TimesheetModel.fromJson constructor
Implementation
factory TimesheetModel.fromJson(Map<String, dynamic> json) {
return TimesheetModel(
json["name"],
json["employee"] ?? "",
json["status"],
json["start_date"],
json["end_date"],
json["total_hours"],
);
}