ConversationThread class

Represents a thread in a group conversation.

Annotations
  • @JsonSerializable.new()

Constructors

ConversationThread({String? id, String? topic, bool? hasAttachments, DateTime? lastDeliveredDateTime, String? preview, bool? isLocked, List<Post>? posts})
ConversationThread.empty()
const
ConversationThread.fromJson(Map<String, dynamic> json)
factory

Properties

hasAttachments → bool?
Indicates whether the thread has attachments.
final
hashCode → int
The hash code for this object.
no setterinherited
id → String?
The unique identifier for the thread.
final
isLocked → bool?
If the thread is locked.
final
lastDeliveredDateTime → DateTime?
The timestamp for when the thread was last delivered.
final
posts → List<Post>?
The posts in this thread.
final
preview → String?
The preview text of the thread.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
topic → String?
The topic of the thread.
final

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.
inherited