addToSyncQueue method
Add operation to sync queue
Implementation
Future<void> addToSyncQueue(SyncOperation operation) async {
_ensureInitialized();
await _isar.writeTxn(() async {
await _isar.syncOperations.put(operation);
});
}
Add operation to sync queue
Future<void> addToSyncQueue(SyncOperation operation) async {
_ensureInitialized();
await _isar.writeTxn(() async {
await _isar.syncOperations.put(operation);
});
}