copyWith method
ChatFolderInfo
copyWith({
- int? id,
- ChatFolderName? name,
- ChatFolderIcon? icon,
- int? colorId,
- bool? hasMyInviteLinks,
Implementation
ChatFolderInfo copyWith({
int? id,
ChatFolderName? name,
ChatFolderIcon? icon,
int? colorId,
bool? isShareable,
bool? hasMyInviteLinks,
}) => ChatFolderInfo(
id: id ?? this.id,
name: name ?? this.name,
icon: icon ?? this.icon,
colorId: colorId ?? this.colorId,
isShareable: isShareable ?? this.isShareable,
hasMyInviteLinks: hasMyInviteLinks ?? this.hasMyInviteLinks,
);