UpdateUnreadChatCount class

Inheritance

Constructors

UpdateUnreadChatCount({ChatList chatList, int totalCount, int unreadCount, int unreadUnmutedCount, int markedAsUnreadCount, int markedAsUnreadUnmutedCount})
Number of unread chats, i.e. with unread messages or marked as unread, has changed. This update is sent only if the message database is used
UpdateUnreadChatCount.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

chatList ChatList
chatList The chat list with changed number of unread messages
read / write
extra ↔ dynamic
callback sign
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
markedAsUnreadCount int
markedAsUnreadCount Total number of chats marked as unread
read / write
markedAsUnreadUnmutedCount int
markedAsUnreadUnmutedCount Total number of unmuted chats marked as unread
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
totalCount int
totalCount Approximate total number of chats in the chat list
read / write
unreadCount int
unreadCount Total number of unread chats
read / write
unreadUnmutedCount int
unreadUnmutedCount Total number of unread unmuted chats
read / write

Methods

getConstructor() String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object. [...]
inherited

Operators

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

Constants

CONSTRUCTOR → const String
'updateUnreadChatCount'