optionsWhereSource method
Returns the options that have a value matching the source type test.
Implementation
Iterable<O> optionsWhereSource(
final bool Function(ValueSourceType source) test,
) {
return _config.entries
.where((final e) => test(e.value.source))
.map((final e) => e.key);
}