When you call a method that returns a Future
, you have a decision to make:
- use
await
(most common) - use
unawaited
- use
ignore
This decision affects how the code is executed when the Future
throws, so make sure you understand each case well.
Here's an explanation. 👇
Here are some resources where you can learn more:
Happy coding!