ApiConfig constructor

ApiConfig(
  1. Map<String, dynamic> params
)

Implementation

ApiConfig(Map<String, dynamic> params) {
  uploadPrefix = params[uploadPrefixKey]?.toString() ?? defaultUploadPrefix;
  chunkSize = params[chunkSizeKey] ?? defaultChunkSize;
  timeout = params[connectTimeoutKey] ?? defaultTimeout;
  callbackUrl = params[callbackUrlKey]?.toString();
}