copyWith method
UpdateUnreadChatCount
copyWith({
- ChatList? chatList,
- int? totalCount,
- int? unreadCount,
- int? unreadUnmutedCount,
- int? markedAsUnreadCount,
- int? markedAsUnreadUnmutedCount,
- dynamic extra,
- int? clientId,
override
Implementation
@override
UpdateUnreadChatCount copyWith({
ChatList? chatList,
int? totalCount,
int? unreadCount,
int? unreadUnmutedCount,
int? markedAsUnreadCount,
int? markedAsUnreadUnmutedCount,
dynamic extra,
int? clientId,
}) => UpdateUnreadChatCount(
chatList: chatList ?? this.chatList,
totalCount: totalCount ?? this.totalCount,
unreadCount: unreadCount ?? this.unreadCount,
unreadUnmutedCount: unreadUnmutedCount ?? this.unreadUnmutedCount,
markedAsUnreadCount: markedAsUnreadCount ?? this.markedAsUnreadCount,
markedAsUnreadUnmutedCount: markedAsUnreadUnmutedCount ?? this.markedAsUnreadUnmutedCount,
extra: extra ?? this.extra,
clientId: clientId ?? this.clientId,
);