HTError.notStruct constructor

HTError.notStruct({
  1. String? filename,
  2. int? line,
  3. int? column,
  4. int? offset,
  5. int? length,
})

Error: Bind a non literal function is not allowed.

Implementation

HTError.notStruct(
    {String? filename, int? line, int? column, int? offset, int? length})
    : this(ErrorCode.notStruct, ErrorType.runtimeError,
          message: HTLocale.current.errorNotStruct,
          filename: filename,
          line: line,
          column: column,
          offset: offset,
          length: length);