src/Model/Notification.php
public function withPriority(Priority $priority = null): Notification
    {
        $cloned = clone $this;

        $cloned->priority = $priority;

        return $cloned;
    }
public function withPriority(Priority $priority = null): Notification
    {
        $cloned = clone $this;

        $cloned->priority = $priority;

        return $cloned;
    }
Set priority

@param Priority $priority

@return Notification