AnalysisError.forValues constructor
AnalysisError.forValues(})
Initialize a newly created analysis error with given values.
Implementation
AnalysisError.forValues(this.source, int offset, int length, this.errorCode,
String message, this._correctionMessage,
{List<DiagnosticMessage> contextMessages = const []})
: _contextMessages = contextMessages {
_problemMessage = DiagnosticMessageImpl(
filePath: source.fullName,
length: length,
message: message,
offset: offset,
url: null);
}