Created
December 18, 2023 11:03
-
-
Save dongsub-joung/db541709ba600494830acdbdcdce258b to your computer and use it in GitHub Desktop.
it's not work
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Future<http.Response> fetch_comments() { | |
return http.get(Uri.parse('https://myapp-api.ngrok.dev/comment/all')); | |
} | |
// my_reponsed_value | |
Instance of '_Future<Response>' X infinity loop | |
// Json | |
[{"id":1,"body":"------WebKitFormBoundary5NTYRxVNbLpG3FiD\r\nContent-Disposition: form-data; name=\"body\"\r\n\r\nhi\r\n------WebKitFormBoundary5NTYRxVNbLpG3FiD--\r\n"},{"id":2,"body":"------WebKitFormBoundaryyfVAO70JOwG1deJs\r\nContent-Disposition: form-data; name=\"body\"\r\n\r\nrust\r\n------WebKitFormBoundaryyfVAO70JOwG1deJs--\r\n"}] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment