public function map($resource, array $data): ResourceClass
    {
        /** @var ResourceClass $deletedAsset */
        $deletedAsset = $this->hydrator->hydrate($resource ?: ResourceClass::class, [
            'sys' => $this->createSystemProperties(SystemProperties::class, $data),
        ]);

        return $deletedAsset;
    }
public function map($resource, array $data): ResourceClass
    {
        /** @var ResourceClass $deletedAsset */
        $deletedAsset = $this->hydrator->hydrate($resource ?: ResourceClass::class, [
            'sys' => $this->createSystemProperties(SystemProperties::class, $data),
        ]);

        return $deletedAsset;
    }
{@inheritdoc}