Exception handling with Dart/Flutter

preview_player
Показать описание
Even when programming APPs the exception handling is necessary for avoiding your APP to abort without provide the proper treatment to user. Example includes network connections which can fail, and then instead of abort you app (the standard behavior without exception handling) you may implement an offline mode which works with local database. Lets see how to deal with exceptions using Dart.

English subtitles are available! You can enable that using video controls. The subtitle has been careful reviewed to provide you a better understanding.

Code available on github:

Read more:

If you have some contribution about this theme please write down at the comments.
Thanks for watching.

Contents:
0:00 Exceptions introduction
0:48 Exception handling structures overview
1:22 Exemple 01: try / on
3:00 Exemple 02: try / on / catch
3:53 Exemple 03: try / on / catch / finally
5:22 Code execution
Рекомендации по теме