getAllGroups method

List<KdbxGroup> getAllGroups()

Returns all groups plus this group itself.

Implementation

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