takeOutput method
Get the output as a string and clear the buffer.
Implementation
String takeOutput() {
final result = output.toString();
output.clear();
return result;
}
Get the output as a string and clear the buffer.
String takeOutput() {
final result = output.toString();
output.clear();
return result;
}