getSdkUrl function

String getSdkUrl(
  1. BuildEnv? buildEnv
)

Implementation

String getSdkUrl(BuildEnv? buildEnv) {
  const String version = "v9";
  switch (buildEnv) {
    case BuildEnv.staging:
      return "https://staging-auth.web3auth.io/$version";
    case BuildEnv.testing:
      return "https://develop-auth.web3auth.io";
    case BuildEnv.production:
    default:
      return "https://auth.web3auth.io/$version";
  }
}