copyWith method

  1. @override
UpdateChatReadOutbox copyWith({
  1. int? chatId,
  2. int? lastReadOutboxMessageId,
  3. dynamic extra,
  4. int? clientId,
})
override

Implementation

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