dart get out of function to main code example
Example: dart command to stop program
import 'dart:io';
void main() {
exit(0); // Standard out code, 0 = no errors.
}
import 'dart:io';
void main() {
exit(0); // Standard out code, 0 = no errors.
}