HTError constructor
HTError(})
HTError can not be created by default constructor.
Implementation
HTError(this.code, this.type,
{required String message,
this.extra,
List interpolations = const [],
this.correction,
this.filename,
this.line,
this.column,
this.offset,
this.length}) {
for (var i = 0; i < interpolations.length; ++i) {
message = message.replaceAll('{$i}', interpolations[i].toString());
}
_message = message;
}