Datastore/src/EntityMapper.php
private function getPropertyValue(array $property, $className = Entity::class)
    {
        $type = $this->getValueType($property);
        return $this->convertValue($type, $property[$type], $className);
    }
private function getPropertyValue(array $property, $className = Entity::class)
    {
        $type = $this->getValueType($property);
        return $this->convertValue($type, $property[$type], $className);
    }
private function getPropertyValue ( array $ property , $ className = Entity :: class ) { $ type = $ this -> getValueType ( $ property ) ; return $ this -> convertValue ( $ type , $ property [ $ type ] , $ className ) ; }
Determine the property type and return a converted value

@param array $property The API property
@param string $className [optional] The type to decode into, if property is an entity.
@return mixed
Determine the property type and return a converted value