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 = [];
  _output.forEach((element) {
    if (element.isNotEmpty) {
      ret.add(element);
    }
  });
  return ret;
}