copyWith method

ChatFolderInfo copyWith({
  1. int? id,
  2. ChatFolderName? name,
  3. ChatFolderIcon? icon,
  4. int? colorId,
  5. bool? isShareable,
  6. 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,
);