copyWith method

  1. @override
UpdateChatReadInbox copyWith({
  1. int? chatId,
  2. int? lastReadInboxMessageId,
  3. int? unreadCount,
  4. dynamic extra,
  5. int? clientId,
})
override

Implementation

@override
UpdateChatReadInbox copyWith({
  int? chatId,
  int? lastReadInboxMessageId,
  int? unreadCount,
  dynamic extra,
  int? clientId,
}) => UpdateChatReadInbox(
  chatId: chatId ?? this.chatId,
  lastReadInboxMessageId: lastReadInboxMessageId ?? this.lastReadInboxMessageId,
  unreadCount: unreadCount ?? this.unreadCount,
  extra: extra ?? this.extra,
  clientId: clientId ?? this.clientId,
);