oneShotSync method

Future<void> oneShotSync({
  1. Duration? timeout,
})

Immediately start a sync and wait for completion. If there is an active sync already, wait for the active sync instead.

Implementation

Future<void> oneShotSync({Duration? timeout}) {
  return _sync(timeout: timeout);
}