getCharBuffer method
Retrieves all characters currently in the input buffer as a single string.
This does not remove the characters from the buffer. Use getChar to consume characters. The buffer holds characters entered since the last calls to getChar or since the buffer was last full (oldest characters are discarded if full).
Returns a string containing all buffered characters.
Implementation
String getCharBuffer() {
var result = StringBuffer();
for (var char in _charQueue) {
result.write(char.symbol);
}
return result.toString();
}