PlainReporter constructor

PlainReporter({
  1. required bool printOutput,
  2. required bool useColor,
  3. String? logFilePath,
  4. StringSink? out,
})

The out defaults to the stdout, and is replaced in the tests

Implementation

PlainReporter({required this.printOutput, required this.useColor, this.logFilePath, StringSink? out}) : _out = out ?? SafeStdout.instance;