Calls getOutput and joins the returned list using the newline character ('\n').
String getStringOutput() => getOutput().join('\n');