dwyl / learn-dart

🎯Learn the Dart programming language to build cross-platform (Mobile, Web & Desktop) Apps with Flutter!
GNU General Public License v2.0
32 stars 8 forks source link

How to work with asynchronous events? #9

Open SimonLab opened 4 years ago

SimonLab commented 4 years ago

We can use async, await keywords and the class Future to manage asynchronous operation. For example when retrieving data from an API the returned values might take a bit of time depending on the API server, network status...