Progress.print constructor

Progress.print({
  1. bool capture = false,
})

Use this progress to print both stdout and stderr. If capture is true (defaults to false) the output to stdout and stderr is also captured and will be available in lines once the process completes.

Implementation

factory Progress.print({bool capture = false}) => ProgressBothImpl(print,
    stderr: print, captureStdout: capture, captureStderr: capture);