checkEnv method

bool checkEnv()

Implementation

bool checkEnv() {
  switch (ApiConstant.baseUrl) {
    case "http://cpm-ventas.10.0.15.106.nip.io/": // dev
      return true;
    case "http://cpm-ventas-cc-kh-int-ccventas-alpha-01.10.0.15.106.nip.io/": // qa
      return true;
    case "https://ppapp.ventas.cellcard.com.kh/": // preprod
      return true;
    case "https://app.ventas.cellcard.com.kh/": // prod
      return true;
    case "https://tbapp.ventas.cellcard.com.kh/": // test-bed
      return true;
    default:
      return true;
  }
}