wrap method

Implementation

List<ApiEndpoint> wrap(EndpointHandler Function(EndpointHandler) f) {
  return map((h) => WrappedEndpoint(h, f)).toList();
}