copyWith method

VersionsCompanion copyWith({
  1. Value<String>? userId,
  2. Value<String?>? favoriteChatsListVersion,
  3. Value<bool?>? favoriteChatsSynchronized,
  4. Value<String?>? chatContactsListVersion,
  5. Value<bool?>? favoriteContactsSynchronized,
  6. Value<bool?>? contactsSynchronized,
  7. Value<bool?>? blocklistSynchronized,
  8. Value<String?>? sessionsListVersion,
  9. Value<String?>? blocklistVersion,
  10. Value<int?>? blocklistCount,
  11. Value<int>? rowid,
})

Implementation

VersionsCompanion copyWith(
    {Value<String>? userId,
    Value<String?>? favoriteChatsListVersion,
    Value<bool?>? favoriteChatsSynchronized,
    Value<String?>? chatContactsListVersion,
    Value<bool?>? favoriteContactsSynchronized,
    Value<bool?>? contactsSynchronized,
    Value<bool?>? blocklistSynchronized,
    Value<String?>? sessionsListVersion,
    Value<String?>? blocklistVersion,
    Value<int?>? blocklistCount,
    Value<int>? rowid}) {
  return VersionsCompanion(
    userId: userId ?? this.userId,
    favoriteChatsListVersion:
        favoriteChatsListVersion ?? this.favoriteChatsListVersion,
    favoriteChatsSynchronized:
        favoriteChatsSynchronized ?? this.favoriteChatsSynchronized,
    chatContactsListVersion:
        chatContactsListVersion ?? this.chatContactsListVersion,
    favoriteContactsSynchronized:
        favoriteContactsSynchronized ?? this.favoriteContactsSynchronized,
    contactsSynchronized: contactsSynchronized ?? this.contactsSynchronized,
    blocklistSynchronized:
        blocklistSynchronized ?? this.blocklistSynchronized,
    sessionsListVersion: sessionsListVersion ?? this.sessionsListVersion,
    blocklistVersion: blocklistVersion ?? this.blocklistVersion,
    blocklistCount: blocklistCount ?? this.blocklistCount,
    rowid: rowid ?? this.rowid,
  );
}