verifyPhoneEndpoint static method

String verifyPhoneEndpoint(
  1. AppConfig context
)

Implementation

static String verifyPhoneEndpoint(AppConfig context) {
  switch (context.environment) {
    case AppEnvironment.PROD:
      return kProdVerifyPhoneEndpoint;
    case AppEnvironment.DEMO:
      return kDemoVerifyPhoneEndpoint;
    case AppEnvironment.E2E:
      return ke2eVerifyPhoneEndpoint;
    default:
      return kTestVerifyPhoneEndpoint;
  }
}