entityValue<T> method

T? entityValue<T>(
  1. String key
)

Retrieves a value associated with the given key from the entity.

If the object is not an entity or if the key doesn't exist, returns null.

Implementation

T? entityValue<T>(String key) {
  return isEntity ? Entity.value(key, this) : null;
}