ApplyMiddleware<T> constructor
ApplyMiddleware<T> ({
- required ApiEndpoint<
T> child, - required ApiMiddleware middleware,
Implementation
ApplyMiddleware({
required ApiEndpoint<T> child,
required ApiMiddleware middleware,
}) : super(child, (h) => (r) => middleware.apply(r, h));