You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 18, 2025. It is now read-only.
import 'dart:io';
import 'package:safe_config/safe_config.dart';
class AppConfig extends Configuration {
AppConfig(String fileName) : super.fromFile(File(fileName));
String password;
}
void main() {
var config = new AppConfig("config.yaml");
print("${config.password}"); // -> null????
}
I receive the unhandled exception:
"Invalid configuration data for 'AppConfig'. Missing required values: 'password'"
If I remove $ from 'password' field this error goes away
It seems that there is no support to escape '$' sign in config files (although yaml package seems to support that). Could you please add that. I think there is already a standard where double '$' ($$) is used to escape $ sign.