getGroup method
Returns the PolicyGroup in _groups
matching name
.
Throws ArgumentError if there is no group with this name.
Implementation
PolicyGroup getGroup(String name) {
if (_groups.containsKey(name)) return _groups[name]!;
throw ArgumentError('No group [$name] found');
}