dispose method
Releases all resources held by the manager and its adapters.
Implementation
@override
Future<void> dispose() async {
if (isDisposed) return;
stopAutoSync();
clearCaches(); // Clear caches on dispose
await _queueManager.dispose();
_syncRequestStrategy.dispose();
_isolateHelper.dispose();
await localAdapter.dispose();
await remoteAdapter.dispose();
await super.dispose(); // Call the mixin's dispose
}