select method

  1. @override
bool select(
  1. T value
)
override

When given a selected entity, this will check the treeoptions for children and select them all.

Implementation

@override
bool select(T value) {
  bool wasNewSelection = super.select(value);
  if (wasNewSelection) {
    super.selectAll(_treeOptions.allChildrenOf(value));
  }
  return wasNewSelection;
}