How to Exit a Dart Application Unconditionally?

The exit() method exits the current program by terminating running Dart VM. This method takes a status code. A non-zero value of status code is generally used to indicate abnormal termination. This is a similar exit in C/C++, Java. This method doesn’t wait for any asynchronous operations to terminate. Syntax: exit(exit_code); To use this method, we have… Continue reading How to Exit a Dart Application Unconditionally?

Published
Categorized as Dart Tagged ,