resolveMiddlewareForGroup static method
Implementation
static Iterable<Middleware> resolveMiddlewareForGroup(String group) {
final middlewareGroup = ApplicationFactory._middlewareGroups[group];
if (middlewareGroup == null) {
throw ArgumentError('Middleware group `$group` does not exist');
}
return middlewareGroup.map(_buildHandlerFunc);
}