print method
Implementation
void print(String part, [bool newLine = false]) {
if (part.isNotEmpty) {
_currentLine.parts.add(part);
}
if (newLine) {
_lines.add(_EmittedLine(_indent));
_outputPos = 0;
} else {
_outputPos += part.length;
}
}