copyWith method

  1. @override
UpdateUnreadChatCount copyWith({
  1. ChatList? chatList,
  2. int? totalCount,
  3. int? unreadCount,
  4. int? unreadUnmutedCount,
  5. int? markedAsUnreadCount,
  6. int? markedAsUnreadUnmutedCount,
  7. dynamic extra,
  8. 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,
    );