entityObject<T> method

T? entityObject<T>(
  1. String key,
  2. EntityBuilder<T> builder
)

Retrieves an object associated with the given key from the entity.

Implementation

T? entityObject<T>(
  String key,
  EntityBuilder<T> builder,
) {
  return isEntity ? Entity.object(key, this, builder) : null;
}