NIMThreadTalkHistory class Null safety

History messages in a thread

Annotations
  • @JsonSerializable()

Constructors

NIMThreadTalkHistory({required NIMMessage? thread, required int? time, required List<NIMMessage>? replyList})
NIMThreadTalkHistory.fromMap(Map<String, dynamic> map)
factory

Properties

hashCode int
The hash code for this object.
read-only, inherited
replyList List<NIMMessage>?
Get the number of replies in a thread. The thread message is not counted.
@JsonKey(toJson: replyListToMap, fromJson: replyListFromMap, includeIfNull: false), read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
thread NIMMessage?
Get messages in a thread
@JsonKey(toJson: messageToMap, fromJson: messageFromMap, includeIfNull: false), read / write
time int?
Get the timestamp of the last message in a thread.
read / write

Methods

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

Operators

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