load method
Parses environment variables from each path in filenames
, and adds them
to the underlying Map.
Implementation
void load(
[Iterable<String> filenames = const ['.env'],
Parser psr = const Parser()]) {
for (var filename in filenames) {
var f = File.fromUri(Uri.file(filename));
var lines = _verify(f);
_map.addAll(psr.parse(lines));
}
}