copyWith method

UsersCompanion copyWith({
  1. Value<String>? id,
  2. Value<String>? num,
  3. Value<String?>? name,
  4. Value<String?>? bio,
  5. Value<String?>? avatar,
  6. Value<String?>? callCover,
  7. Value<int>? mutualContactsCount,
  8. Value<bool>? online,
  9. Value<int?>? presenceIndex,
  10. Value<String?>? status,
  11. Value<bool>? isDeleted,
  12. Value<String?>? dialog,
  13. Value<String?>? isBlocked,
  14. Value<PreciseDateTime?>? lastSeenAt,
  15. Value<String>? contacts,
  16. Value<String>? ver,
  17. Value<String>? blockedVer,
  18. Value<String?>? welcomeMessage,
  19. Value<int>? rowid,
})

Implementation

UsersCompanion copyWith(
    {Value<String>? id,
    Value<String>? num,
    Value<String?>? name,
    Value<String?>? bio,
    Value<String?>? avatar,
    Value<String?>? callCover,
    Value<int>? mutualContactsCount,
    Value<bool>? online,
    Value<int?>? presenceIndex,
    Value<String?>? status,
    Value<bool>? isDeleted,
    Value<String?>? dialog,
    Value<String?>? isBlocked,
    Value<PreciseDateTime?>? lastSeenAt,
    Value<String>? contacts,
    Value<String>? ver,
    Value<String>? blockedVer,
    Value<String?>? welcomeMessage,
    Value<int>? rowid}) {
  return UsersCompanion(
    id: id ?? this.id,
    num: num ?? this.num,
    name: name ?? this.name,
    bio: bio ?? this.bio,
    avatar: avatar ?? this.avatar,
    callCover: callCover ?? this.callCover,
    mutualContactsCount: mutualContactsCount ?? this.mutualContactsCount,
    online: online ?? this.online,
    presenceIndex: presenceIndex ?? this.presenceIndex,
    status: status ?? this.status,
    isDeleted: isDeleted ?? this.isDeleted,
    dialog: dialog ?? this.dialog,
    isBlocked: isBlocked ?? this.isBlocked,
    lastSeenAt: lastSeenAt ?? this.lastSeenAt,
    contacts: contacts ?? this.contacts,
    ver: ver ?? this.ver,
    blockedVer: blockedVer ?? this.blockedVer,
    welcomeMessage: welcomeMessage ?? this.welcomeMessage,
    rowid: rowid ?? this.rowid,
  );
}