getMany<TService> method

List<TService> getMany<TService>()

Returns a permanent list of services of specified type.

Implementation

List<TService> getMany<TService>() {
  return getIterable<TService>().toList();
}