getOutput method

List getOutput()

This returns the stdout as a list. Empty strings at the end are removed. For a string version see getStringOutput

Implementation

List getOutput() {
  final ret = [];
  for (var element in _output) {
    if (element.isNotEmpty) {
      ret.add(element);
    }
  }
  return ret;
}