copyWith method

ToggleChatDefaultDisableNotification copyWith({
  1. int? chatId,
  2. bool? defaultDisableNotification,
})

Implementation

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