todoListFromJson function
id : "78"
task : "Review and update todo task module functionality like List,Filters,All Actions (Add,Update,Status Update & Pin/Unpin) @Bhoomi @Lalit @VenusManager CC : @VenusHR"
schedule_type : ""
schedule_time : ""
next_occurance_time : ""
parent_task_id : ""
project_id : ""
is_primary_task : "1"
priority : "1"
due_date : "Friday, 20 December, 2024"
status : "Pending"
timestamp : "Tuesday, 26 November, 2024"
description : "check all below,\n-Todo List\n-Add Task\n-Update Task\n-Pin/Unpin Action\n-Due Date\n-Mark As Completed"
is_pinned : "1"
from_user_id : "262"
name : "Dhruvi"
over_due : "0"
upcoming : "0"
comments : {"id":"31","message":"open task","status":"Pending","created_at":"Tuesday, 26 November, 2024 03:36 pm"}
members : {"master_user_id":"274","name":"Venus - Manager"}
assigned_members : "274,268,265,282"
observer_members : ""
priority_text : "Low"
attachments : {"id":"24","file_type":"jpg","file_name":"https://www.reecosys.com/api/assets/uploads/2024/11/image_cropper_1732620360174-1732620363.jpg","created_at":"26-11-2024"}
Implementation
TodoList todoListFromJson(String str) => TodoList.fromJson(json.decode(str));