code: public function getRelations(): Collection
      {
          return $this->getRelationships()->filter(function (array $relation) {
              return array_key_exists('data', $relation);
          })->map(function (array $relation) {
              return $relation['data'];
          });
      }
docs: Get the data value of all relationships.
  
  @return Collection