saveDecisions static method
Save decisions to decisions.yaml
Implementation
static void saveDecisions(List<Decision> decisions) {
ensureDataFilesExist();
final path = '$dataDir/decisions.yaml';
final yaml = {
'decisions': decisions.map((d) => d.toMap()).toList(),
};
final content = _mapToYaml(yaml);
FileService.writeFile(path, content);
}