copyWith method

  1. @override
UpdateChatAction copyWith({
  1. int? chatId,
  2. int? messageThreadId,
  3. MessageSender? senderId,
  4. ChatAction? action,
  5. dynamic extra,
  6. int? clientId,
})
override

Implementation

@override
UpdateChatAction copyWith({
  int? chatId,
  int? messageThreadId,
  MessageSender? senderId,
  ChatAction? action,
  dynamic extra,
  int? clientId,
}) => UpdateChatAction(
  chatId: chatId ?? this.chatId,
  messageThreadId: messageThreadId ?? this.messageThreadId,
  senderId: senderId ?? this.senderId,
  action: action ?? this.action,
  extra: extra ?? this.extra,
  clientId: clientId ?? this.clientId,
);