HTAnalysisError.constValue constructor

HTAnalysisError.constValue(
  1. String id, {
  2. String? extra,
  3. String? correction,
  4. required String filename,
  5. required int line,
  6. required int column,
  7. required int offset,
  8. required int length,
})

Implementation

HTAnalysisError.constValue(String id,
    {String? extra,
    String? correction,
    required String filename,
    required int line,
    required int column,
    required int offset,
    required int length})
    : this(ErrorCode.constValue, ErrorType.staticWarning,
          message: HTLocale.current.errorConstValue,
          extra: extra,
          interpolations: [id],
          correction: correction,
          filename: filename,
          line: line,
          column: column,
          offset: offset,
          length: length);