EntityObjectHelper extension
Extension methods to provide helper functionalities for object types that represent entities.
- on
Properties
Methods
-
entityObject<
T> (String key, EntityBuilder< T> builder) → T? - Retrieves an object associated with the given key from the entity.
-
entityObjects<
T> (String key, EntityBuilder< T> builder) → List<T> ? - Retrieves a list of objects associated with the given key from the entity.
-
entityType<
T> (String key, EntityBuilder< T> builder) → T? - Retrieves an object of a specific type associated with the given key from the entity.
-
entityValue<
T> (String key) → T? - Retrieves a value associated with the given key from the entity.
-
entityValues<
T> (String key) → List< T> ? - Retrieves a list of values associated with the given key from the entity.