clearScreen method
Implementation
void clearScreen({bool resetCursor = true}) {
if (resetCursor) {
_stdout.write(
'${ConsoleStrings.eraseScreen}${ConsoleStrings.cursorToHome}',
);
} else {
_stdout.write(ConsoleStrings.eraseScreen);
}
}