Exit the console session.
static void exit(int code, {bool withNewLine = true, bool withClearing = false}) => exitImpl(code, withNewLine: withNewLine, withClearing: withClearing);