HTError.misplacedSuper constructor

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

Error: super appeared outside of a inherited class's instance method.

Implementation

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