How do I parse a complex JSON into a list in Darts/flutter
I have the message in a map but I need some help parsing and getting the value
This is the JSON:..
{
"jobs": [
{
"id": "S_1244",
"title": "Title1",
"location": {
"city": "Miami",
"stateCode": "FL"
},
"salary": {
"symbol": "US$",
"min": "26.15",
"max": "27.15"
},
"type": "Temporary",
"posted": 1530027914570
},
{
"id": "S_1234",
"title": "Title1",
"location": {
"city": "Miami",
"stateCode": "FL"
},
"salary": {
"symbol": "US$",
"min": "26.15",
"max": "27.15"
},
"type": "Temporary",
"posted": 1530027914570
}
]
}
I have the body in a map
Map map = jsonDecode(data.body);
Thanks for your help