@override Tree? build(String? id) { final tree = ref.watch(filteredTreeProvider); if (id == null) return tree; if (tree == null) return tree; return findTreeWithId(tree, id); }