isEveryDefined method

bool isEveryDefined(
  1. Iterable<String> vars
)

True if all supplied variables have nonempty value; false otherwise. Differs from containsKey by excluding null values. Note load should be called first.

Implementation

bool isEveryDefined(Iterable<String> vars) =>
    vars.every((k) => _envMap[k]?.isNotEmpty ?? false);