I have a JSON string like this :
{
"message": "Login successful",
"result": [
{
"_id": "60ed65f6cb33920004c3117a",
"username": "ajay",
}
]
}
I Convert above string in jsondecode(response.body) format using flutter I got below string
{
message: Login successful,
result:[
{
_id: 60ed65f6cb33920004c3117a,
username: ajay
}
]
}
I Can find _id and username of result section when user logged in successfully