getGroup method

TDependencyGroup<Object> getGroup({
  1. Entity groupEntity = const DefaultEntity(),
})

Gets the TDependencyGroup with the specified groupEntity from the state or null if none exist.

Implementation

@pragma('vm:prefer-inline')
TDependencyGroup<Object> getGroup({
  Entity groupEntity = const DefaultEntity(),
}) {
  return TDependencyGroup.unmodifiable(_state[groupEntity] ?? {});
}