reporter function

Reporter? reporter({
  1. required String name,
  2. required IOSink output,
  3. required Config config,
  4. required String reportFolder,
})

Implementation

Reporter? reporter({
  required String name,
  required IOSink output,
  required Config config,
  required String reportFolder,
}) {
  final constructor = _implementedReports[name];

  return constructor != null ? constructor(output, config, reportFolder) : null;
}