flushAllOutboxes method
Implementation
Future<void> flushAllOutboxes() async {
if (_instances.isEmpty) return;
for (final helper in _instances) {
try {
await helper.initOutbox();
await helper.flushAllPending();
} catch (e) {
AppLogger.log(
'SyncHelper.flushAllOutboxes error: $e',
error: e,
isError: true,
);
}
}
}