diff --git a/lib/src/kdbx_group.dart b/lib/src/kdbx_group.dart index 95be33b..319b2e6 100644 --- a/lib/src/kdbx_group.dart +++ b/lib/src/kdbx_group.dart @@ -92,6 +92,9 @@ class KdbxGroup extends KdbxObject { isDirty = true; } + /// returns all parents recursively including this group. + List get breadcrumbs => [...?parent?.breadcrumbs, this]; + StringNode get name => StringNode(this, 'Name'); // String get name => text('Name') ?? '';