retrySendOtpEndpoint static method

String retrySendOtpEndpoint(
  1. List<AppContext> contexts
)

Implementation

static String retrySendOtpEndpoint(List<AppContext> contexts) {
  if (contexts.contains(AppContext.AppProd)) {
    return kProdRetryResendOtpEndpoint;
  }
  if (contexts.contains(AppContext.AppDemo)) {
    return kDemoRetryResendOtpEndpoint;
  }
  if (contexts.contains(AppContext.AppE2E)) {
    return ke2eRetryResendOtpEndpoint;
  }
  return kTestRetryResendOtpEndpoint;
}