copyWith method

DeleteChatMessagesBySender copyWith({
  1. int? chatId,
  2. MessageSender? senderId,
})

Implementation

DeleteChatMessagesBySender copyWith({
  int? chatId,
  MessageSender? senderId,
}) =>
    DeleteChatMessagesBySender(
      chatId: chatId ?? this.chatId,
      senderId: senderId ?? this.senderId,
    );