domainimage property
String
get
domainimage
Implementation
String get domainimage {
String domain = '';
switch (environment) {
case Env.development:
if (Config.AppVersion == VersionApps.indonesia) {
domain = _developmentDomainImageId;
} else {
domain = _developmentDomainImage;
}
break;
case Env.staging:
domain = _stagingDomain;
// if (Config.AppVersion == VersionApps.indonesia) {
// domain = _developmentDomainImageId;
// } else {
// domain = _stagingDomain;
// }
break;
case Env.production:
if (Config.AppVersion == VersionApps.indonesia) {
domain = _prodDomainImageID;
} else {
domain = _prodDomainImage;
}
break;
case Env.productionKube:
if (Config.AppVersion == VersionApps.indonesia) {
domain = _prodDomainImageID;
} else {
domain = productionDomainKube;
}
break;
}
return domain;
}