debugPendingSaves property
Awaits every save queued so far — lets a test deterministically wait for a burst of rapid calls to fully settle instead of guessing a delay.
Implementation
@visibleForTesting
Future<void> get debugPendingSaves => _waitForPendingSaves();