deleteGroup method

PolicyGroup? deleteGroup(
  1. String name
)

Removes name and its associated PolicyGroup from _groups.

Returns the PolicyGroup associated with name before it was removed. Returns null if name was not in the map.

Implementation

PolicyGroup? deleteGroup(String name) {
  return _groups.remove(name);
}