getReporter method

Reporter<FileReport, LintReportParams>? getReporter({
  1. required String name,
  2. required IOSink output,
  3. required String reportFolder,
})

Returns a reporter for the given name. Use the reporter to convert analysis reports to console, JSON or other supported format.

Implementation

Reporter<FileReport, LintReportParams>? getReporter({
  required String name,
  required IOSink output,
  required String reportFolder,
}) =>
    reporter(
      name: name,
      output: output,
      reportFolder: reportFolder,
    );