Browse Source

add breadcrumbs getter for Group

remove-cryptography-dependency
Herbert Poul 5 years ago
parent
commit
65ed1def9f
  1. 3
      lib/src/kdbx_group.dart

3
lib/src/kdbx_group.dart

@ -92,6 +92,9 @@ class KdbxGroup extends KdbxObject {
isDirty = true; isDirty = true;
} }
/// returns all parents recursively including this group.
List<KdbxGroup> get breadcrumbs => [...?parent?.breadcrumbs, this];
StringNode get name => StringNode(this, 'Name'); StringNode get name => StringNode(this, 'Name');
// String get name => text('Name') ?? ''; // String get name => text('Name') ?? '';

Loading…
Cancel
Save