env method

String? env(
  1. String name
)

Read the value of env and serialize it as a String?.

Implementation

String? env(String name) {
  if (name.contains('.') && shouldWarn(sources)) {
    warn(
        'The environment variable $name contains `.` symbols, please ignore warnings if intentionally used.');
  }

  return this<String>(name);
}