DataCallHttp.from constructor

DataCallHttp.from(
  1. HttpCall config
)

Implementation

factory DataCallHttp.from(HttpCall config) {
  if (config is DataCallHttp) {
    return config;
  } else {
    return DataCallHttp(
        client: config.client,
        method: config.method,
        path: config.path,
        fullPath: config.fullPath,
        body: config.body,
        maxRetries: config.maxRetries);
  }
}