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. ๐Ÿ‘‡

Futures: await vs unawaited vs ignore

Here are some resources where you can learn more:

Happy coding!