JsonReporter constructor

JsonReporter({
  1. String? logFilePath,
  2. StringSink? out,
})

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

Implementation

JsonReporter({this.logFilePath, StringSink? out}) : _out = out ?? SafeStdout.instance;