AnalyzerErrorGroup.fromAnalysisErrors constructor

AnalyzerErrorGroup.fromAnalysisErrors(
  1. Iterable<AnalysisError> errors
)

Creates an AnalyzerErrorGroup from a list of lower-level AnalysisErrors.

Implementation

AnalyzerErrorGroup.fromAnalysisErrors(Iterable<AnalysisError> errors)
    : this(errors.map((e) => AnalyzerError(e)));