Conversation class

Constructors

Conversation({String? conversationId, required String conversationType, required AppEntity conversationWith, BaseMessage? lastMessage, DateTime? updatedAt, int? unreadMessageCount = 0, List<String>? tags, int unreadMentionsCount = 0, String? lastReadMessageId})
Conversation.fromMap(dynamic map)
factory

Properties

conversationId String?
conversationId is the unique ID of the conversation.
read / write
conversationType String
conversationType is the type of conversation.
read / write
conversationWith AppEntity
conversationWith is the user or group with whom the conversation is taking place.
read / write
hashCode int
The hash code for this object.
read-onlyinherited
lastMessage BaseMessage?
lastMessage is the last message sent in the conversation.
read / write
lastReadMessageId String?
lastReadMessageId is the ID of the last read message in the conversation.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
tags List<String>?
tags is a list of tags associated with the conversation.
read / write
unreadMentionsCount int
unreadMentionsCount is the count of unread mentions in the conversation.
read / write
unreadMessageCount int?
unreadMessageCount is the count of unread messages in the conversation.
read / write
updatedAt DateTime?
updatedAt is the time at which the conversation was last updated.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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