UserThread class abstract

a thread that user is following

Properties:

  • id - ID of the post that is this thread's root
  • replyCount - number of replies in this thread
  • lastReplyAt - timestamp of the last post to this thread
  • lastViewedAt - timestamp of the last time the user viewed this thread
  • participants - list of users participating in this thread. only includes IDs unless 'extended' was set to 'true'
  • post

Constructors

UserThread([void updates(UserThreadBuilder b)])
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
id String?
ID of the post that is this thread's root
no setter
lastReplyAt int?
timestamp of the last post to this thread
no setter
lastViewedAt int?
timestamp of the last time the user viewed this thread
no setter
participants → BuiltList<Post>?
list of users participating in this thread. only includes IDs unless 'extended' was set to 'true'
no setter
post Post?
no setter
replyCount int?
number of replies in this thread
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rebuild(dynamic updates(UserThreadBuilder)) UserThread
Rebuilds the instance.
inherited
toBuilder() UserThreadBuilder
Converts the instance to a builder B.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

serializer → Serializer<UserThread>
no setter