ThreadInfo class
Represents a thread info of a message.
- Annotations
-
- @JsonSerializable(createToJson: false)
Constructors
-
ThreadInfo({int replyCount = 0, List<
User> mostRepliesUsers = const [], int lastRepliedAt = 0, int? updatedAt}) -
ThreadInfo.fromJson(Map<
String, dynamic> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
read-onlyoverride
- lastRepliedAt → int
-
The time that the last reply was created, in Unix milliseconds format.
A value of 0 indicates there is no reply in the thread.
final
-
mostRepliesUsers
→ List<
User> -
Users who left a reply in the thread, based on the time the reply was added.
final
- replyCount → int
-
The total number of replies in a specific thread.
A value of 0 indicates there is no reply in the thread.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- updatedAt ↔ int?
-
read / write
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override