dataFromJson function
order_id : "16290" order_number : "CN/003" total_item : "1" sub_total : "100.00" discount : "0.00" grand_total : "100.00" status : {"name":"Accepted","text_color":"#F49025","bg_color":"#FFF4E5"} remarks : "" created_at_date_time : {"date":"21 Dec, 2024","time":"03:09 PM"} modify_btn_show : "0" place_by_type : "CRM" cn_type : "Expired"
Implementation
CreditNoteItem dataFromJson(String str) => CreditNoteItem.fromJson(json.decode(str));