fromUri static method

CloudinaryConfig fromUri(
  1. String uri
)

Implementation

static CloudinaryConfig fromUri(String uri) {
  var params = _parseConfigUrl(uri);

  var cloudConfig = CloudConfig.withMap(params);
  var urlConfig = UrlConfig.withMap(params);
  var apiConfig = ApiConfig(params);
  return CloudinaryConfig._(cloudConfig, urlConfig, apiConfig);
}