getAllAsync<T extends Object> abstract method

Future<Iterable<T>> getAllAsync<T extends Object>({
  1. dynamic param1,
  2. dynamic param2,
  3. bool fromAllScopes = false,
})

The returned Future<Iterable> will then contain all registered async registrations of the requested interface T with or without an instance name. if the registrations are factories they will each be called with the provided parameters param1,param2 and the results will be returned in the Iterable. fromAllScopes if true it will return all instances from all scopes otherwise only from the current scope

Implementation

Future<Iterable<T>> getAllAsync<T extends Object>({
  dynamic param1,
  dynamic param2,
  bool fromAllScopes = false,
});