copyWith method

SetChatDraftMessage copyWith({
  1. int? chatId,
  2. MessageTopic? topicId,
  3. DraftMessage? draftMessage,
})

Implementation

SetChatDraftMessage copyWith({
  int? chatId,
  MessageTopic? topicId,
  DraftMessage? draftMessage,
}) =>
    SetChatDraftMessage(
      chatId: chatId ?? this.chatId,
      topicId: topicId ?? this.topicId,
      draftMessage: draftMessage ?? this.draftMessage,
    );