ShelfApiRouter constructor

ShelfApiRouter(
  1. List<ApiEndpoint> children, {
  2. Response? onError(
    1. Object?
    )?,
})

Implementation

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