copyWith method

MessageReplyInfo copyWith({
  1. int? replyCount,
  2. List<MessageSender>? recentReplierIds,
  3. int? lastReadInboxMessageId,
  4. int? lastReadOutboxMessageId,
  5. int? lastMessageId,
})

Implementation

MessageReplyInfo copyWith({
  int? replyCount,
  List<MessageSender>? recentReplierIds,
  int? lastReadInboxMessageId,
  int? lastReadOutboxMessageId,
  int? lastMessageId,
}) => MessageReplyInfo(
  replyCount: replyCount ?? this.replyCount,
  recentReplierIds: recentReplierIds ?? this.recentReplierIds,
  lastReadInboxMessageId: lastReadInboxMessageId ?? this.lastReadInboxMessageId,
  lastReadOutboxMessageId: lastReadOutboxMessageId ?? this.lastReadOutboxMessageId,
  lastMessageId: lastMessageId ?? this.lastMessageId,
);