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

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
replaceWith({NewType<FavoriteChatsListVersion?>? favoriteChatsListVersion, NewType<bool?>? favoriteChatsSynchronized, NewType<ChatContactsListVersion?>? chatContactsListVersion, NewType<bool?>? favoriteContactsSynchronized, NewType<bool?>? contactsSynchronized, NewType<bool?>? blocklistSynchronized, NewType<SessionsListVersion?>? sessionsListVersion, NewType<BlocklistVersion?>? blocklistVersion, NewType<int?>? blocklistCount}) SessionData
Returns a copy of this SessionData replaced with the NewTypes provided.
toString() String
A string representation of this object.
override

Operators

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