snapshotInterval property
How often to write a snapshot of the store. Duration.zero disables snapshots. Set before CrdtTable.init; later changes may not take effect.
Implementation
@override
set snapshotInterval(Duration value) {
_snapshotInterval = value;
// Re-arm the timer when the database is already open; before [init] the
// new interval is picked up by the [_startSnapshots] call inside it.
if (_db != null && !_closed) {
_snapshotTimer?.cancel();
_snapshotTimer = null;
_startSnapshots();
}
}