copyWith method

DeleteChatBackground copyWith({
  1. int? chatId,
  2. bool? restorePrevious,
})

Implementation

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