copyWith method

RemoveTopChat copyWith({
  1. TopChatCategory? category,
  2. int? chatId,
})

Implementation

RemoveTopChat copyWith({
  TopChatCategory? category,
  int? chatId,
}) =>
    RemoveTopChat(
      category: category ?? this.category,
      chatId: chatId ?? this.chatId,
    );