mirror of
https://github.com/java-james/flutter_dotenv.git
synced 2025-07-03 21:10:24 +08:00
Fixed a warning when using with flutter_test (#3)
Fixed a warning when using with flutter_test
This commit is contained in:

committed by
java-james

parent
97d90ab7cd
commit
dcde5bc3bc
@ -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 {
|
||||
|
Reference in New Issue
Block a user