Fixed a warning when using with flutter_test (#3)

Fixed a warning when using with flutter_test
This commit is contained in:
Nathan Brewer-Davis
2019-09-10 17:10:19 -05:00
committed by java-james
parent 97d90ab7cd
commit dcde5bc3bc

View File

@ -67,7 +67,7 @@ class DotEnv {
/// Logs to [stderr] if [filename] does not exist.
Future load([String filename = '.env', Parser psr = const Parser()]) async {
var lines = await _verify(filename);
env.addAll(psr.parse(lines));
_env.addAll(psr.parse(lines));
}
Future<List<String>> _verify(String filename) async {