sendRecoverAccountOTP static method

String sendRecoverAccountOTP(
  1. AppConfig context
)

Implementation

static String sendRecoverAccountOTP(AppConfig context) {
  switch (context.environment) {
    case AppEnvironment.PROD:
      return kProdSendRecoverAccountOtpEndpoint;
    case AppEnvironment.DEMO:
      return kDemoSendRecoverAccountOtpEndpoint;
    case AppEnvironment.E2E:
      return ke2eSendRecoverAccountOtpEndpoint;
    default:
      return kTestSendRecoverAccountOtpEndpoint;
  }
}