updateToolProperties method
Implementation
void updateToolProperties(String id, Map<String, dynamic> properties) {
final tool = _tools.firstWhere((t) => t.id == id);
if (properties.containsKey('color')) {
tool.color = properties['color'];
}
if (properties.containsKey('strokeWidth')) {
tool.strokeWidth = properties['strokeWidth'];
}
_notifyToolsChanged();
}