schedulePatch method

void schedulePatch(
  1. String id,
  2. Map<String, dynamic> patch
)

Directly schedule an arbitrary patch for the given entity id. This bypasses diffing and writes to the outbox immediately (debounced before network send). Safe to call repeatedly; patches will be merged and deduped.

Implementation

void schedulePatch(String id, Map<String, dynamic> patch) {
  if (patch.isEmpty) return;
  _schedule(id, patch);
}