HTError.nullObject constructor

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

Error: Calling method on null object.

Implementation

HTError.nullObject(String symbol, String method,
    {String? extra,
    String? correction,
    String? filename,
    int? line,
    int? column,
    int? offset,
    int? length})
    : this(ErrorCode.nullObject, ErrorType.runtimeError,
          message: HTLocale.current.errorNullObject,
          interpolations: [symbol, method],
          extra: extra,
          correction: correction,
          filename: filename,
          line: line,
          column: column,
          offset: offset,
          length: length);