diff --git a/lib/src/kdbx_file.dart b/lib/src/kdbx_file.dart index 24f2c8a..01c2520 100644 --- a/lib/src/kdbx_file.dart +++ b/lib/src/kdbx_file.dart @@ -40,6 +40,7 @@ class KdbxFile { final KdbxHeader header; final KdbxBody body; final Set dirtyObjects = {}; + bool get isDirty => dirtyObjects.isNotEmpty; final StreamController> _dirtyObjectsChanged = StreamController>.broadcast();