all method

List<T> all(
  1. String scope
)

Returns all objects in scope

Implementation

List<T> all(String scope) {
  final result = <T>[];

  _instances[scope]?.values.forEach(result.addAll);

  return result;
}