code: public function removeAttachment(AttachmentInterface $attachment)
      {
          if ($this->attachments->contains($attachment)) {
              $this->attachments->removeElement($attachment);
          }
  
          return $this;
      }
docs: Removes the attachment.
  
  @param AttachmentInterface $attachment
  
  @return Notify