read method

String read(
  1. String name
)

Implementation

String read(String name) {
  final value = this[name];
  if (value == null) {
    throw Exception('环境变量:$name 不存在!');
  }
  return value;
}