#devopscommunity
Read more stories on Hashnode
Articles with this tag
Typedef Keyword : In Dart, the typedef is used to generate an alias for function type that we can use it as type annotation for declaring variables...
Assert Statement : During development, use an assert statement— assert(<condition>, <optionalMessage>); —to disrupt normal execution if a boolean...
Throw Keyword : The throw keyword is used to explicitly raise an exception. A raised exception should be handled to prevent the program from exiting...
Finally clause : To ensure that some code runs whether or not an exception is thrown, use a finally clause. If no catch clause matches the exception,...
Error handling : Exceptions : Your Dart code can throw and catch exceptions. Exceptions are errors indicating that something unexpected happened. If...
Debugging : Every now and then, developers commit mistakes while coding. A mistake in a program is referred to as a bug. The process of finding and...