copyWith method

GetDirectMessagesChatTopic copyWith({
  1. int? chatId,
  2. int? topicId,
})

Implementation

GetDirectMessagesChatTopic copyWith({int? chatId, int? topicId}) =>
    GetDirectMessagesChatTopic(
      chatId: chatId ?? this.chatId,
      topicId: topicId ?? this.topicId,
    );