QChatMessageCache class Null safety

Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

QChatMessageCache({QChatMessage? threadMessage, QChatMessage? message, QChatMessage? replyMessage, QChatMessageQuickCommentDetail? messageQuickCommentDetail})
QChatMessageCache.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
read-only, inherited
message QChatMessage?
获取消息体
@JsonKey(fromJson: qChatMessageFromJson), read / write
messageQuickCommentDetail QChatMessageQuickCommentDetail?
获取消息的快捷评论
@JsonKey(fromJson: _qChatMessageQuickCommentDetailFromJson), read / write
replyMessage QChatMessage?
获取消息的回复对象
@JsonKey(fromJson: qChatMessageFromJson), read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
threadMessage QChatMessage?
获取消息的Thread消息
@JsonKey(fromJson: qChatMessageFromJson), read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited