anonymousLoginEndpoint static method
Implementation
static String anonymousLoginEndpoint(AppConfig context) {
switch (context.environment) {
case AppEnvironment.PROD:
return kProdAnonymousLoginEndpoint;
case AppEnvironment.DEMO:
return kDemoAnonymousLoginEndpoint;
case AppEnvironment.E2E:
return ke2eAnonymousLoginEndpoint;
default:
return kTestAnonymousLoginEndpoint;
}
}