getReporter method

Reporter<UnusedL10nFileReport, void, UnusedL10NReportParams>? getReporter({
  1. required String name,
  2. required IOSink output,
})

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

Implementation

Reporter<UnusedL10nFileReport, void, UnusedL10NReportParams>? getReporter({
  required String name,
  required IOSink output,
}) =>
    reporter(
      name: name,
      output: output,
    );