filter method
Conditionally runs middleware or stops the chain
Implementation
void filter(condition, Middleware<T> filterMiddleware) {
use(getFilterMiddleware(condition, filterMiddleware));
}
Conditionally runs middleware or stops the chain
void filter(condition, Middleware<T> filterMiddleware) {
use(getFilterMiddleware(condition, filterMiddleware));
}