APP_ENV in lower case. Empty when it is not set, which means production. Like get, it loads .env first when nothing did yet.
APP_ENV
.env
static String get appEnv => get<String>('APP_ENV').toLowerCase();