ErrorReporter constructor

ErrorReporter(
  1. AnalysisErrorListener _errorListener,
  2. Source _source,
  3. {required bool isNonNullableByDefault}
)

Initialize a newly created error reporter that will report errors to the given _errorListener. Errors will be reported against the _defaultSource unless another source is provided later.

Implementation

ErrorReporter(this._errorListener, this._source,
    {required this.isNonNullableByDefault});