skip to Main Content

How to decode this json data in flutter?

{ "status": "success", "errors": null, "message": "Records Found successfully.", "data": [ { "id": 2, "department_id": 1, "permissions": "{"eventStatus":"1","dptStatus":"1","empStatus":"1","policyStatus":"1","openingStatus":"1","birthdayStatus":"1","hrdStatus":"1","supportStatus":"1","libraryStatus":"1","exemptionStatus":"1","settingStatus":"1","assetsStatus":"1"}" } ] } How to convert this json to dart model class?

VIEW QUESTION
Back To Top
Search