HTAnalysisError constructor
HTAnalysisError(})
Implementation
HTAnalysisError(this.code, this.type,
{String? message,
this.extra,
List<String> interpolations = const [],
this.correction,
required this.filename,
required this.line,
required this.column,
this.offset = 0,
this.length = 0,
this.contextMessages = const []}) {
if (message != null) {
for (var i = 0; i < interpolations.length; ++i) {
message = message!.replaceAll('{$i}', interpolations[i].toString());
}
_message = message;
}
}