Datastore/src/EntityTrait.php
public function getProperty($property)
    {
        return isset($this->entity[$property])
            ? $this->entity[$property]
            : null;
    }
public function getProperty($property)
    {
        return isset($this->entity[$property])
            ? $this->entity[$property]
            : null;
    }
public function getProperty ( $ property ) { return isset ( $ this -> entity [ $ property ] ) ? $ this -> entity [ $ property ] : null ; }
Get a single property from the entity data.

If the property does not exist, this method will return `null`.

Example:
```
$value = $entity->getProperty('firstName');
```

@param string $property The name of an entity property to return.
@return mixed|null
Get a single property from the entity data .