contains static method

bool contains(
  1. String key
)

Checks whether key exists in the loaded environment map.

if (BloomEnv.contains('AUTH_SECRET')) {
  enableAuth();
}

Implementation

static bool contains(String key) => _env.containsKey(key);