copyWith method
Implementation
CommunityChat copyWith({
int? chatId,
bool? canViewHistory,
bool? isHidden,
}) =>
CommunityChat(
chatId: chatId ?? this.chatId,
canViewHistory: canViewHistory ?? this.canViewHistory,
isHidden: isHidden ?? this.isHidden,
);