Conversation class

Represents a conversation with "direct message" visibility. https://docs.joinmastodon.org/entities/conversation/

Annotations
  • @JsonSerializable()

Constructors

Conversation({required String id, required List<Account> accounts, required Status? lastStatus, required bool unread})
Conversation.fromJson(Map<String, dynamic> json)
factory

Properties

accounts List<Account>
Participants in the conversation
final
hashCode int
The hash code for this object.
no setterinherited
id String
Local database ID of the conversation
final
lastStatus Status?
The last status in the conversation, to be used for optional display
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
unread bool
Is the conversation currently marked as unread?
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