exists method

bool exists(
  1. String key
)

Returns true if an environment variable with the name key exists.

Implementation

bool exists(String key) => _envVars.keys.contains(key);