loadSync method Null safety
Will load the environment variables synchronously
Implementation
bool loadSync() {
File envFile = File('$path$separator${_formatName()}');
if (!envFile.existsSync()) {
throw FileSystemException('File ${envFile.path} nout found !');
}
List<String> lines = envFile.readAsLinesSync();
_fillEnvMap(lines);
return true;
}