35 $taskIds = self::validateTaskIds($request->taskIds);
41 $fromUserId = self::validateUserId($request->fromUserId);
47 $toUserId = self::validateUserId($request->toUserId);
53 $currentUserId = self::validateUserId($request->currentUserId);
55 return new self($taskIds, $fromUserId, $toUserId, $currentUserId);