Parsing JSON in Flutter!

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

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Abhishek Doshi

Abhishek Doshi

1.92K Followers

Google Developer Expert — Dart, Flutter & Firebase 💙💛