toParagraph method
toParagraph runs the contents of this String as a CLI command and returns the lines written to stdout and stderr as a single String by join the lines with the platform specific line delimiter.
If you pass a non-zero value to skipLines
then the list will skip over the first skipLines
count;
skipLines
must be +ve.
Implementation
String toParagraph({int skipLines = 0}) =>
toList(skipLines: skipLines).join(Platform().eol);