Pattern: Use of environment constructor
Issue: -
Using values derived from the environment at compile-time, creates hidden global state and makes applications hard to understand and maintain.
Example of incorrect code:
const loggingLevel =
bool.hasEnvironment('logging') ? String.fromEnvironment('logging') : null;