ApiService constructor

ApiService(
  1. String? config,
  2. List<ApiEndpoint> endpoints, {
  3. MiddlewareBuilder? middleware,
  4. AuthProvider? authProvider,
  5. String? apiBasePath,
  6. SecurityContext? securityContext,
})

Implementation

ApiService(
  String? config,
  this.endpoints, {
  this.middleware,
  this.authProvider,
  String? apiBasePath,
  this.securityContext,
})  : basePath = _sanitizeBasePath(apiBasePath),
      super(config);