getApiUrl method
Get API URL
Implementation
String getApiUrl(String url) {
String urlPrefix;
if (callAppSettings!.host != null) {
urlPrefix = _keyHttps + callAppSettings!.host! + url;
} else {
urlPrefix =
"$_keyHttps${_callBaseUrl.replaceAll("%appId", callAppSettings!.appId!).replaceAll("%region", callAppSettings!.region!)}/$_apiVersion$url";
}
return urlPrefix;
}