ErrorReporter constructor
ErrorReporter(
- AnalysisErrorListener _errorListener,
- Source _source,
- {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});