JsonReporter constructor
JsonReporter({
- String? logFilePath,
- StringSink? out,
The out defaults to the stdout, and is replaced in the tests
Implementation
JsonReporter({this.logFilePath, StringSink? out}) : _out = out ?? SafeStdout.instance;