commandlineExit static method
A function that can be used to exit the app when it is in commandline mode should only be called from afterLoaded function not for use with gui will not close app if _closeOnCompleteCommandlineOptionOnly is false, which is usually for debugging purposes only
Implementation
static commandlineExit({int exitCode = 0}) {
throw UnsupportedError('Unsupported Platform');
}