I have a flutter http get request that returns a response in the below format
{
"area": "some area",
"user_places": [
{
"place_id": "105",
"place_name": "Place 1"
},
{
"place_id": "104",
"place_name": "place 2"
}
],
"lang": null,
"token": "IiwiZGV2aWNlIjoid2ViIiwiZGllIjoiMjAyMS0wNS0xMiAyMjo0NTozOSJ9.2wJlmHNRmQ0_rfNbca2-DNek1dzT9Em8-iQIfGFZJ98",
"account_type": 1,
}
Am currently able to get data from a field directly below the map for example "area" .
My question is how to get data from a list inside the map in this case "user_places". Say I wanted to display all "place_id" and "place_name" in a widget somewhere in my app. How would I go about it?