setEnvironment method

void setEnvironment(
  1. bool isProduction
)

Implementation

void setEnvironment(bool isProduction) {
  productionType = isProduction;
  if (productionType) {
    BASE_URL = 'https://medibhai.com/';
  } else {
    BASE_URL = 'https://packages.medibhai.co.in/';
  }
}