onAdopted property

void Function(DVRecord record)? onAdopted
final

Called when replay replaces this device's copy of a record with the server's, because the server kept something other than what the device wrote. The generated model publishes it, so a watcher sees the value that is now true rather than the one that was discarded.

Implementation

final void Function(DVRecord record)? onAdopted;