deleteSelection method
void
deleteSelection()
Implementation
void deleteSelection() {
final id = selection.value;
if (id == null) return;
controller.applyEdit(EditorEdits.deleteSubtree(id));
}
void deleteSelection() {
final id = selection.value;
if (id == null) return;
controller.applyEdit(EditorEdits.deleteSubtree(id));
}