CloudConfig.withMap constructor
Implementation
CloudConfig.withMap(Map<String, dynamic> params) {
cloudName = params[cloudNameKey].toString();
apiKey = params[apiKeyKey]?.toString();
apiSecret = params[apiSecretKey]?.toString();
signatureAlgorithm =
params[signatureAlgorithmKey]?.toString() ?? defaultSignatureAlgorithm;
if (params[authTokenKey] != null) {
authToken = AuthToken.fromMap(params[authTokenKey]);
}
}