addEntry method
Implementation
void addEntry(KdbxEntry entry) {
if (entry.parent != this) {
throw StateError(
'Invalid operation. Trying to add entry which is already in another group.');
}
assert(_entries.findByUuid(entry.uuid) == null,
'must not already be in this group.');
modify(() => _entries.add(entry));
}