copyWith method

DeleteChatHistory copyWith({
  1. int? chatId,
  2. bool? removeFromChatList,
  3. bool? revoke,
})

Implementation

DeleteChatHistory copyWith({
  int? chatId,
  bool? removeFromChatList,
  bool? revoke,
}) =>
    DeleteChatHistory(
      chatId: chatId ?? this.chatId,
      removeFromChatList: removeFromChatList ?? this.removeFromChatList,
      revoke: revoke ?? this.revoke,
    );