onErrors property

Reports the errors associated with a given file. The set of errors included in the notification is always a complete list that supersedes any previously reported errors.

Implementation

Stream<AnalysisErrors> get onErrors {
  return _listen('analysis.errors', AnalysisErrors.parse);
}