HTError.constInClass constructor

HTError.constInClass({
  1. String? extra,
  2. String? correction,
  3. String? filename,
  4. int? line,
  5. int? column,
  6. int? offset,
  7. int? length,
})

Error: Const value in class must be also static.

Implementation

HTError.constInClass(
    {String? extra,
    String? correction,
    String? filename,
    int? line,
    int? column,
    int? offset,
    int? length})
    : this(ErrorCode.constInClass, ErrorType.syntacticError,
          message: HTLocale.current.errorConstInClass,
          extra: extra,
          correction: correction,
          filename: filename,
          line: line,
          column: column,
          offset: offset,
          length: length);