ShelfApiRouter constructor
ShelfApiRouter(
- List<
ApiEndpoint> children, { - Response? onError()?,
Implementation
ShelfApiRouter(List<ApiEndpoint> children, {this.onError})
: _router = Router() {
for (var h in children) {
h.build(this);
}
}