HTError.arity constructor

HTError.arity(
  1. String id,
  2. int argsCount,
  3. int paramsCount, {
  4. String? extra,
  5. String? correction,
  6. String? filename,
  7. int? line,
  8. int? column,
  9. int? offset,
  10. int? length,
})

Error: Function arity check failed.

Implementation

HTError.arity(String id, int argsCount, int paramsCount,
    {String? extra,
    String? correction,
    String? filename,
    int? line,
    int? column,
    int? offset,
    int? length})
    : this(ErrorCode.arity, ErrorType.staticWarning,
          message: HTLocale.current.errorArity,
          interpolations: [argsCount, id, paramsCount],
          extra: extra,
          correction: correction,
          filename: filename,
          line: line,
          column: column,
          offset: offset,
          length: length);