copyWith method

MyUsersCompanion copyWith({
  1. Value<String>? id,
  2. Value<String>? num,
  3. Value<String?>? login,
  4. Value<String?>? name,
  5. Value<String?>? bio,
  6. Value<bool>? hasPassword,
  7. Value<String>? emails,
  8. Value<String>? phones,
  9. Value<String?>? chatDirectLink,
  10. Value<int>? unreadChatsCount,
  11. Value<String?>? status,
  12. Value<String?>? avatar,
  13. Value<String?>? callCover,
  14. Value<int>? presenceIndex,
  15. Value<bool>? online,
  16. Value<String?>? muted,
  17. Value<int?>? blocklistCount,
  18. Value<PreciseDateTime?>? lastSeenAt,
  19. Value<String>? ver,
  20. Value<String?>? welcomeMessage,
  21. Value<int>? rowid,
})

Implementation

MyUsersCompanion copyWith(
    {Value<String>? id,
    Value<String>? num,
    Value<String?>? login,
    Value<String?>? name,
    Value<String?>? bio,
    Value<bool>? hasPassword,
    Value<String>? emails,
    Value<String>? phones,
    Value<String?>? chatDirectLink,
    Value<int>? unreadChatsCount,
    Value<String?>? status,
    Value<String?>? avatar,
    Value<String?>? callCover,
    Value<int>? presenceIndex,
    Value<bool>? online,
    Value<String?>? muted,
    Value<int?>? blocklistCount,
    Value<PreciseDateTime?>? lastSeenAt,
    Value<String>? ver,
    Value<String?>? welcomeMessage,
    Value<int>? rowid}) {
  return MyUsersCompanion(
    id: id ?? this.id,
    num: num ?? this.num,
    login: login ?? this.login,
    name: name ?? this.name,
    bio: bio ?? this.bio,
    hasPassword: hasPassword ?? this.hasPassword,
    emails: emails ?? this.emails,
    phones: phones ?? this.phones,
    chatDirectLink: chatDirectLink ?? this.chatDirectLink,
    unreadChatsCount: unreadChatsCount ?? this.unreadChatsCount,
    status: status ?? this.status,
    avatar: avatar ?? this.avatar,
    callCover: callCover ?? this.callCover,
    presenceIndex: presenceIndex ?? this.presenceIndex,
    online: online ?? this.online,
    muted: muted ?? this.muted,
    blocklistCount: blocklistCount ?? this.blocklistCount,
    lastSeenAt: lastSeenAt ?? this.lastSeenAt,
    ver: ver ?? this.ver,
    welcomeMessage: welcomeMessage ?? this.welcomeMessage,
    rowid: rowid ?? this.rowid,
  );
}