processDelete method
Implementation
@override
Future<RemoteDto?> processDelete() async {
bool success = false;
if (passedWaterState == WaterState.SERVER_PENDING) {
success = true;
} else {
return await super.writeDelete(null);
}
if (success) {
setStates();
wroteDto = true;
}
RemoteDto remoteDto = await commitChanges(null);
return remoteDto;
}