build method

  1. @override
Tree? build(
  1. String? id
)

Implementation

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

  return findTreeWithId(tree, id);
}