getAppConfigureEnv static method

AppConfigureEnv getAppConfigureEnv()

Implementation

static AppConfigureEnv getAppConfigureEnv() {
  switch (_config['env']) {
    case 'dev':
      return AppConfigureEnv.dev;
    case 'staging':
      return AppConfigureEnv.staging;
    case 'prod':
      return AppConfigureEnv.prod;
  }
  throw Exception('Unknown enviroment');
}