Let’s check in a very understandable way the differences between a synchronous and an asynchronous function and why await/Async can help us to make our code cleaner.

I will use dartpad.com for these examples.

1. What’s a future?

Futures are a way to…

Juan Pablo García Nieto

Industrial Engineer, railway project manager & software enthusiast.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store