has static method

bool has(
  1. String key
)

Checks whether an environment variable exists in the runtime store for key.

Alias for contains.

Implementation

static bool has(String key) => contains(key);