HTAnalysisError.fromError constructor
HTAnalysisError.fromError(})
Implementation
HTAnalysisError.fromError(HTError error,
{required String filename,
required int line,
required int column,
int offset = 0,
int length = 0,
List<HTDiagnosticMessage> contextMessages = const []})
: this(error.code, error.type,
message: error.message,
extra: error.extra,
correction: error.correction,
filename: filename,
line: line,
column: column,
contextMessages: contextMessages);