getServices<T> method
Get an enumeration of services of type T from the ServiceProvider.
Implementation
Iterable<T> getServices<T>() {
var result = getServiceFromType(Iterable<T>);
if (result is List<dynamic>) {
return result.cast<T>();
}
return List<T>.empty();
//throw Exception('No service found for registered type.');
}