Returns all groups plus this group itself.
List<KdbxGroup> getAllGroups() => groups .expand((g) => g.getAllGroups()) .followedBy([this]).toList(growable: false);