entityValues<T> method

List<T>? entityValues<T>(
  1. String key, [
  2. EntityBuilder<T>? builder
])

Retrieves a list of values 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

List<T>? entityValues<T>(
  String key, [
  EntityBuilder<T>? builder,
]) {
  return isEntity ? Entity.values(key, this, builder) : null;
}