copyWith method
UpdateChatAction
copyWith({
- int? chatId,
- MessageTopic? topicId,
- MessageSender? senderId,
- ChatAction? action,
Implementation
UpdateChatAction copyWith({
int? chatId,
MessageTopic? topicId,
MessageSender? senderId,
ChatAction? action,
}) => UpdateChatAction(
chatId: chatId ?? this.chatId,
topicId: topicId ?? this.topicId,
senderId: senderId ?? this.senderId,
action: action ?? this.action,
);