copyWith method

UpdateChatNotificationSettings copyWith({
  1. int? chatId,
  2. ChatNotificationSettings? notificationSettings,
})

Implementation

UpdateChatNotificationSettings copyWith({
  int? chatId,
  ChatNotificationSettings? notificationSettings,
}) => UpdateChatNotificationSettings(
  chatId: chatId ?? this.chatId,
  notificationSettings: notificationSettings ?? this.notificationSettings,
);