toWire method
path is what the backend's apply_diff reads; old_path /
new_path stay for existing consumers.
Implementation
Map<String, dynamic> toWire() => {
'id': stableId,
'path': newPath,
'old_path': oldPath,
'new_path': newPath,
};