unephemeral method
void
unephemeral()
Pops the last ephemeral console state. All text outputted to the console immidiately after this call will be preserved when the console is cleared.
Implementation
void unephemeral() {
assert(depth > 0, 'Cannot unephemeralize a non-ephemeral console.');
final lineCount = lines[depth] ?? 0;
if (lineCount > 0) {
clearLines(lineCount);
}
depth--;
lines.remove(depth);
}