How can I retrieve all this information from Json and insert it into a ListView on my Flutter app?
"acordos": {
"29": {
"0": {
"installment": 0,
"link": "https://hml.use...",
"amount": 55.07,
"amount_paid": 0.0,
"status": "VEN",
"due_date": "2021-05-04",
"receivable_type": "ACO",
"payment_method": "banking_billet",
"acordo": "86",
"created_at": "2021-05-04",
"updated_at": "2021-05-05"
},
"1": {
"installment": 1,
"link": "https://hml.use...",
"amount": 20.62,
"amount_paid": 20.62,
"status": "PAG",
"due_date": "2021-05-04",
"receivable_type": "ACO",
"payment_method": "banking_billet",
"acordo": "86",
"created_at": "2021-05-04",
"updated_at": "2021-05-04"
},
"2": {
"installment": 2,
"link": "https://hml.use...",
"amount": 20.62,
"amount_paid": 20.62,
"status": "PAG",
"due_date": "2021-05-04",
"receivable_type": "ACO",
"payment_method": "banking_billet",
"acordo": "86",
"created_at": "2021-05-04",
"updated_at": "2021-05-04"
},
"3": {
"installment": 3,
"link": "https://hml.use...",
"amount": 20.62,
"amount_paid": 20.62,
"status": "PAG",
"due_date": "2021-05-04",
"receivable_type": "ACO",
"payment_method": "banking_billet",
"acordo": "86",
"created_at": "2021-05-04",
"updated_at": "2021-05-04"
}
}
},
I have did it before, but only with json files with "[]" in the objects and I has success but with this kind of Json I can't.