copyWith method

StopPendingMessage copyWith({
  1. int? chatId,
  2. MessageTopic? topicId,
  3. int? draftId,
})

Implementation

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