retrySendOtpEndpoint static method

String retrySendOtpEndpoint(
  1. AppConfig context
)

Implementation

static String retrySendOtpEndpoint(AppConfig context) {
  switch (context.environment) {
    case AppEnvironment.PROD:
      return kProdRetryResendOtpEndpoint;
    case AppEnvironment.DEMO:
      return kDemoRetryResendOtpEndpoint;
    case AppEnvironment.E2E:
      return ke2eRetryResendOtpEndpoint;
    default:
      return kTestRetryResendOtpEndpoint;
  }
}