ThreadInfo class
Represents a thread info of a message.
- Annotations
-
- @JsonSerializable()
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.
no setteroverride
- 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.
getter/setter pair
-
mostRepliesUsers
↔ List<
User> -
Users who left a reply in the thread, based on the time the reply was added.
getter/setter pair
- replyCount ↔ int
-
The total number of replies in a specific thread.
A value of 0 indicates there is no reply in the thread.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- updatedAt ↔ int?
-
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent 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.
override