writeln method
Implementation
void writeln([String text = '']) {
_addLine(TerminalLine(text: _currentLine + text));
_currentLine = '';
notifyListeners();
}
void writeln([String text = '']) {
_addLine(TerminalLine(text: _currentLine + text));
_currentLine = '';
notifyListeners();
}