getReporter method

Reporter<UnnecessaryNullableFileReport, UnnecessaryNullableReportParams>? 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<UnnecessaryNullableFileReport, UnnecessaryNullableReportParams>?
    getReporter({
  required String name,
  required IOSink output,
}) =>
        reporter(
          name: name,
          output: output,
        );