copyWith method
- FavoriteChatsListVersion? favoriteChatsListVersion,
- bool? favoriteChatsSynchronized,
- ChatContactsListVersion? chatContactsListVersion,
- bool? favoriteContactsSynchronized,
- bool? contactsSynchronized,
- bool? blocklistSynchronized,
- SessionsListVersion? sessionsListVersion,
- BlocklistVersion? blocklistVersion,
- int? blocklistCount,
Returns a copy of this SessionData.
Implementation
SessionData copyWith({
FavoriteChatsListVersion? favoriteChatsListVersion,
bool? favoriteChatsSynchronized,
ChatContactsListVersion? chatContactsListVersion,
bool? favoriteContactsSynchronized,
bool? contactsSynchronized,
bool? blocklistSynchronized,
SessionsListVersion? sessionsListVersion,
BlocklistVersion? blocklistVersion,
int? blocklistCount,
}) {
return SessionData(
favoriteChatsListVersion:
this.favoriteChatsListVersion ?? favoriteChatsListVersion,
favoriteChatsSynchronized:
this.favoriteChatsSynchronized ?? favoriteChatsSynchronized,
chatContactsListVersion:
this.chatContactsListVersion ?? chatContactsListVersion,
favoriteContactsSynchronized:
this.favoriteContactsSynchronized ?? favoriteContactsSynchronized,
contactsSynchronized: this.contactsSynchronized ?? contactsSynchronized,
blocklistSynchronized:
this.blocklistSynchronized ?? blocklistSynchronized,
sessionsListVersion: this.sessionsListVersion ?? sessionsListVersion,
blocklistVersion: this.blocklistVersion ?? blocklistVersion,
blocklistCount: this.blocklistCount ?? blocklistCount,
);
}