Début récupération bons élément dans json de l'API
continuous-integration/drone/push Build is passing Details

messagerie_lucas_test
Félix MIELCAREK 2 years ago
parent a5f4d787fb
commit 6deb3b96de

@ -107,6 +107,7 @@ class Api {
'Content-Type': 'application/json' 'Content-Type': 'application/json'
}); });
// Implement treatment of data's // Implement treatment of data's
//print(response.body); var decodedResponse = jsonDecode(utf8.decode(response.bodyBytes)) as Map;
print(decodedResponse['item']['href']);
} }
} }

Loading…
Cancel
Save