clearPatch method

void clearPatch(
  1. String type,
  2. String id
)

Drop all patches for an entity.

Implementation

void clearPatch(String type, String id) {
  _write(() {
    _patches[type]?.remove(id);
    _notifyEntity(type, id);
  });
}