sync static method

Future<void> sync()

Force-flush all pending operations in the offline sync queue.

Implementation

static Future<void> sync() async {
  _ensure();
  await _provider!.forceSync();
}