HTTP and APIs
Fetch data from REST endpoints
Flutter uses the http package to make network requests. Data flows from your app to a server and back as JSON, then gets parsed into Dart objects.
App
http.get(url)
DNS
Server
JSON Response
jsonDecode
Model
UI
Request travels from your app to the server and back.