checkEnv method

bool checkEnv()

Implementation

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