getWebBaseURL method

Future<String> getWebBaseURL(
  1. APIEnv env
)

Implementation

Future<String> getWebBaseURL(APIEnv env) async {
  String name = envNameMap[env]!;
  String suffix = ((name.length > 0) ? ("-" + name) : "");
  return (await this.api.getPrivateMoney(privateMoneyId: this.privateMoneyId)).customDomainName ?? "https://www" + suffix + ".pokepay"
      ".jp";
}