copyWith method

ToggleChatHasProtectedContent copyWith({
  1. int? chatId,
  2. bool? hasProtectedContent,
})

Implementation

ToggleChatHasProtectedContent copyWith({
  int? chatId,
  bool? hasProtectedContent,
}) => ToggleChatHasProtectedContent(
  chatId: chatId ?? this.chatId,
  hasProtectedContent: hasProtectedContent ?? this.hasProtectedContent,
);