copyWith method

CommunityAddChatRequest copyWith({
  1. int? chatId,
  2. bool? isHidden,
  3. int? senderUserId,
  4. int? date,
})

Implementation

CommunityAddChatRequest copyWith({
  int? chatId,
  bool? isHidden,
  int? senderUserId,
  int? date,
}) =>
    CommunityAddChatRequest(
      chatId: chatId ?? this.chatId,
      isHidden: isHidden ?? this.isHidden,
      senderUserId: senderUserId ?? this.senderUserId,
      date: date ?? this.date,
    );