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