value method
Implementation
String? value(String key, {String? def}) {
var config = pickedConfig;
if (config == null) {
return def;
} else {
try {
return config.subItems
?.firstWhere(
(element) => element.name == key,
)
.value;
} catch (e) {
return def;
}
}
}