copyWith method
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,
})
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,
);
}