copyWith method

ProcessChatJoinRequest copyWith({
  1. int? chatId,
  2. int? userId,
  3. bool? approve,
})

Implementation

ProcessChatJoinRequest copyWith({
  int? chatId,
  int? userId,
  bool? approve,
}) =>
    ProcessChatJoinRequest(
      chatId: chatId ?? this.chatId,
      userId: userId ?? this.userId,
      approve: approve ?? this.approve,
    );