appEnv property

String get appEnv

APP_ENV in lower case. Empty when it is not set, which means production. Like get, it loads .env first when nothing did yet.

Implementation

static String get appEnv => get<String>('APP_ENV').toLowerCase();