I am using the dart package json_serializable for json serialization. Looking at the flutter documentation it shows how to deserialize a single object as follow:
follow this step
step 1-> create model class (name as LoginResponce ) click here to convert json to dart .
step 2-> LoginResponce loginResponce=LoginResponce.fromJson(json.decode(response.body));
step 3 -> now you get your data in instence of model (as loginResponce ).