copyWith method

UpdateChatReadOutbox copyWith({
  1. int? chatId,
  2. int? lastReadOutboxMessageId,
})

Implementation

UpdateChatReadOutbox copyWith({int? chatId, int? lastReadOutboxMessageId}) =>
    UpdateChatReadOutbox(
      chatId: chatId ?? this.chatId,
      lastReadOutboxMessageId:
          lastReadOutboxMessageId ?? this.lastReadOutboxMessageId,
    );