applyNoDiff property

void Function(dynamic model)? applyNoDiff
final

Optional callback when no changes detected (diff was empty).

Called within a write transaction. The syncUpdateDb flag is automatically cleared - use this for logging or custom state management.

Example:

applyNoDiff: (obj) {
  print('No changes to sync for: ${obj.id}');
}

Implementation

final void Function(dynamic model)? applyNoDiff;