unpatchEntity method
Remove specific patch keys.
Implementation
void unpatchEntity(String type, String id, List<String> keys) {
_write(() {
final p = _patches[type]?[id];
if (p == null) return;
for (final k in keys) {
p.remove(k);
}
_notifyEntity(type, id);
});
}