clear method
void
clear()
clear the console
Implementation
void clear() {
if (Platform.isWindows) {
// We need to test it on Windows
print(Process.runSync('cls', [], runInShell: true).stdout);
} else {
print(Process.runSync('clear', [], runInShell: true).stdout);
}
}