removeUserWrite method
Removes write writeId; an unknown id is a no-op (Android deletes no row).
The reference engine throws a StateError for an unknown id while isDurable is true: a reference-engine check, not a requirement on engines.
Implementation
@override
void removeUserWrite(WriteId writeId) {
_verifyInsideTransaction();
if (_writes.remove(writeId) == null && isDurable) {
throw StateError("Tried to remove write that doesn't exist.");
}
}