allOf<THub> static method
Implementation
static List<ResourceRestEndpoint> allOf<THub>() {
final resources = resolve<HubProvider<THub>>().resources;
return [
...resources
.whereType<ElementResourceProvider>()
.map(ElementResourceRestEndpoint.new),
...resources
.whereType<CollectionResourceProvider>()
.map(CollectionResourceRestEndpoint.new),
];
}