addGroup method
Implementation
void addGroup(KdbxGroup group) {
if (group.parent != this) {
throw StateError(
'Invalid operation. Trying to add group which is already in another group.');
}
modify(() => _groups.add(group));
}
void addGroup(KdbxGroup group) {
if (group.parent != this) {
throw StateError(
'Invalid operation. Trying to add group which is already in another group.');
}
modify(() => _groups.add(group));
}