copyWith method
ChatsCompanion
copyWith({ - Value<String>? id,
- Value<String?>? avatar,
- Value<String?>? name,
- Value<String>? members,
- Value<int>? kindIndex,
- Value<bool>? isHidden,
- Value<String?>? muted,
- Value<String?>? directLink,
- Value<PreciseDateTime>? createdAt,
- Value<PreciseDateTime>? updatedAt,
- Value<String>? lastReads,
- Value<PreciseDateTime?>? lastDelivery,
- Value<String?>? firstItem,
- Value<String?>? lastItem,
- Value<String?>? lastReadItem,
- Value<int>? unreadCount,
- Value<int>? totalCount,
- Value<String?>? ongoingCall,
- Value<double?>? favoritePosition,
- Value<int>? membersCount,
- Value<String>? ver,
- Value<String?>? lastItemCursor,
- Value<String?>? lastReadItemCursor,
- Value<String?>? recentCursor,
- Value<String?>? favoriteCursor,
- Value<int>? rowid,
})
Implementation
ChatsCompanion copyWith(
{Value<String>? id,
Value<String?>? avatar,
Value<String?>? name,
Value<String>? members,
Value<int>? kindIndex,
Value<bool>? isHidden,
Value<String?>? muted,
Value<String?>? directLink,
Value<PreciseDateTime>? createdAt,
Value<PreciseDateTime>? updatedAt,
Value<String>? lastReads,
Value<PreciseDateTime?>? lastDelivery,
Value<String?>? firstItem,
Value<String?>? lastItem,
Value<String?>? lastReadItem,
Value<int>? unreadCount,
Value<int>? totalCount,
Value<String?>? ongoingCall,
Value<double?>? favoritePosition,
Value<int>? membersCount,
Value<String>? ver,
Value<String?>? lastItemCursor,
Value<String?>? lastReadItemCursor,
Value<String?>? recentCursor,
Value<String?>? favoriteCursor,
Value<int>? rowid}) {
return ChatsCompanion(
id: id ?? this.id,
avatar: avatar ?? this.avatar,
name: name ?? this.name,
members: members ?? this.members,
kindIndex: kindIndex ?? this.kindIndex,
isHidden: isHidden ?? this.isHidden,
muted: muted ?? this.muted,
directLink: directLink ?? this.directLink,
createdAt: createdAt ?? this.createdAt,
updatedAt: updatedAt ?? this.updatedAt,
lastReads: lastReads ?? this.lastReads,
lastDelivery: lastDelivery ?? this.lastDelivery,
firstItem: firstItem ?? this.firstItem,
lastItem: lastItem ?? this.lastItem,
lastReadItem: lastReadItem ?? this.lastReadItem,
unreadCount: unreadCount ?? this.unreadCount,
totalCount: totalCount ?? this.totalCount,
ongoingCall: ongoingCall ?? this.ongoingCall,
favoritePosition: favoritePosition ?? this.favoritePosition,
membersCount: membersCount ?? this.membersCount,
ver: ver ?? this.ver,
lastItemCursor: lastItemCursor ?? this.lastItemCursor,
lastReadItemCursor: lastReadItemCursor ?? this.lastReadItemCursor,
recentCursor: recentCursor ?? this.recentCursor,
favoriteCursor: favoriteCursor ?? this.favoriteCursor,
rowid: rowid ?? this.rowid,
);
}