copyWithCompanion method
Implementation
VersionRow copyWithCompanion(VersionsCompanion data) {
return VersionRow(
userId: data.userId.present ? data.userId.value : this.userId,
favoriteChatsListVersion: data.favoriteChatsListVersion.present
? data.favoriteChatsListVersion.value
: this.favoriteChatsListVersion,
favoriteChatsSynchronized: data.favoriteChatsSynchronized.present
? data.favoriteChatsSynchronized.value
: this.favoriteChatsSynchronized,
chatContactsListVersion: data.chatContactsListVersion.present
? data.chatContactsListVersion.value
: this.chatContactsListVersion,
favoriteContactsSynchronized: data.favoriteContactsSynchronized.present
? data.favoriteContactsSynchronized.value
: this.favoriteContactsSynchronized,
contactsSynchronized: data.contactsSynchronized.present
? data.contactsSynchronized.value
: this.contactsSynchronized,
blocklistSynchronized: data.blocklistSynchronized.present
? data.blocklistSynchronized.value
: this.blocklistSynchronized,
sessionsListVersion: data.sessionsListVersion.present
? data.sessionsListVersion.value
: this.sessionsListVersion,
blocklistVersion: data.blocklistVersion.present
? data.blocklistVersion.value
: this.blocklistVersion,
blocklistCount: data.blocklistCount.present
? data.blocklistCount.value
: this.blocklistCount,
);
}