APIModuleProxyHttpCaller<T> constructor

APIModuleProxyHttpCaller<T>(
  1. HttpClient httpClient, {
  2. String? moduleRoute,
  3. bool? responsesAsJson,
  4. APIModuleProxyResponseErrorHandler? errorHandler,
})

Implementation

APIModuleProxyHttpCaller(this.httpClient,
    {String? moduleRoute, bool? responsesAsJson, this.errorHandler})
    : modulePath = _normalizeModulePath(moduleRoute),
      responsesAsJson = responsesAsJson ?? true {
  BonesAPI.boot();
}