removeBinary method
Implementation
void removeBinary(KdbxKey binaryKey) {
modify(() {
final binary = _binaries.remove(binaryKey);
if (binary == null) {
throw StateError(
'Trying to remove binary key $binaryKey does not exist.');
}
// binary will not be removed (yet) from file, because it will
// be referenced in history.
});
}