copyWith method
ChatFolderInfo
copyWith({
- int? id,
- String? title,
- ChatFolderIcon? icon,
- bool? hasMyInviteLinks,
- dynamic extra,
- int? clientId,
Implementation
ChatFolderInfo copyWith({
int? id,
String? title,
ChatFolderIcon? icon,
bool? isShareable,
bool? hasMyInviteLinks,
dynamic extra,
int? clientId,
}) =>
ChatFolderInfo(
id: id ?? this.id,
title: title ?? this.title,
icon: icon ?? this.icon,
isShareable: isShareable ?? this.isShareable,
hasMyInviteLinks: hasMyInviteLinks ?? this.hasMyInviteLinks,
extra: extra ?? this.extra,
clientId: clientId ?? this.clientId,
);