getValue method
Implementation
String? getValue(String name) {
var matches = where((element) => element.groupNames.contains(name))
.map((e) => e.namedGroup(name))
.where((element) => element != null);
if (matches.isEmpty) return null;
return matches.first;
}