addToSyncQueue method

Future<void> addToSyncQueue(
  1. SyncOperation operation
)

Add operation to sync queue

Implementation

Future<void> addToSyncQueue(SyncOperation operation) async {
  _ensureInitialized();

  await _isar.writeTxn(() async {
    await _isar.syncOperations.put(operation);
  });
}