ThreadInfo class Null safety

Represents thread information on BaseMessage

This instance is available on BaseMessage's property when there are any replies on the message.

Annotations

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
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 most replies in the thread. The order of users is based on the number of replies they made in the thread and the maximum size of the array can be adjusted per request.
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?
Time that this information was updated at
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.
override