SessionData class

Session relative preferences.

Constructors

SessionData({FavoriteChatsListVersion? favoriteChatsListVersion, bool? favoriteChatsSynchronized, ChatContactsListVersion? chatContactsListVersion, bool? favoriteContactsSynchronized, bool? contactsSynchronized, bool? blocklistSynchronized, SessionsListVersion? sessionsListVersion, BlocklistVersion? blocklistVersion, int? blocklistCount})

Properties

blocklistCount int?
Persisted total count of BlocklistRecords in the blocklist of MyUser.
getter/setter pair
blocklistSynchronized bool?
Persisted indicator whether all blocked Users are synchronized with the remote, meaning no queries should be made.
getter/setter pair
blocklistVersion BlocklistVersion?
Persisted BlocklistVersion data.
getter/setter pair
chatContactsListVersion ChatContactsListVersion?
Persisted ChatContactsListVersion data.
getter/setter pair
contactsSynchronized bool?
Persisted indicator whether all ChatContacts are synchronized with the remote, meaning no queries should be made.
getter/setter pair
favoriteChatsListVersion FavoriteChatsListVersion?
Persisted FavoriteChatsListVersion data.
getter/setter pair
favoriteChatsSynchronized bool?
Persisted indicator whether all favorite Chats are synchronized with the remote, meaning no queries should be made.
getter/setter pair
favoriteContactsSynchronized bool?
Persisted indicator whether all favorite ChatContacts are synchronized with the remote, meaning no queries should be made.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sessionsListVersion SessionsListVersion?
Persisted SessionsListVersion data.
getter/setter pair

Methods

copyFrom(SessionData other) SessionData
Returns a copy of this SessionData from the other.
copyWith({FavoriteChatsListVersion? favoriteChatsListVersion, bool? favoriteChatsSynchronized, ChatContactsListVersion? chatContactsListVersion, bool? favoriteContactsSynchronized, bool? contactsSynchronized, bool? blocklistSynchronized, SessionsListVersion? sessionsListVersion, BlocklistVersion? blocklistVersion, int? blocklistCount}) SessionData
Returns a copy of this SessionData.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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