EntityObjectHelper extension

Extension methods to provide helper functionalities for object types that represent entities.

on

Properties

isEntity bool
Checks if the object is a map representing an entity.
no setter

Methods

entityValue<T>(String key, [EntityBuilder<T>? builder]) → T?
Retrieves a value associated with the given key from the entity.
entityValues<T>(String key, [EntityBuilder<T>? builder]) List<T>?
Retrieves a list of values associated with the given key from the entity.