Working with APIs? The response usually comes in JSON format!

Image copyright to the respective owner
{
"name": "Abhishek",
"age": 22,
"technology": [
{
"name": "Flutter",
"experience": 2
},
{
"name": "GIT",
"experience": 2
}
]
}
name: json.containsKey("name") ? json["name"] ?? "" : "",
Welcome _data = welcomeFromJson(response.body);
print(_data.name);

Don’t forget to connect with me on:

Don’t stop, until you are breathing!💙
- Abhishek Doshi

Google Developer Expert — Dart & Flutter 💙