copyWith method
MessageThreadInfo
copyWith({
- int? chatId,
- int? messageThreadId,
- MessageReplyInfo? replyInfo,
- int? unreadMessageCount,
- List<
Message> ? messages, - DraftMessage? draftMessage,
- dynamic extra,
- int? clientId,
Implementation
MessageThreadInfo copyWith({
int? chatId,
int? messageThreadId,
MessageReplyInfo? replyInfo,
int? unreadMessageCount,
List<Message>? messages,
DraftMessage? draftMessage,
dynamic extra,
int? clientId,
}) => MessageThreadInfo(
chatId: chatId ?? this.chatId,
messageThreadId: messageThreadId ?? this.messageThreadId,
replyInfo: replyInfo ?? this.replyInfo,
unreadMessageCount: unreadMessageCount ?? this.unreadMessageCount,
messages: messages ?? this.messages,
draftMessage: draftMessage ?? this.draftMessage,
extra: extra ?? this.extra,
clientId: clientId ?? this.clientId,
);