descendant method

FinderBase<SemanticsNode> descendant({
  1. required FinderBase<SemanticsNode> of,
  2. required FinderBase<SemanticsNode> matching,
  3. bool matchRoot = false,
})

Finds a descendant of of that matches matching.

If matchRoot is true, then the results of of are included in the search and results.

Implementation

FinderBase<SemanticsNode> descendant({
  required FinderBase<SemanticsNode> of,
  required FinderBase<SemanticsNode> matching,
  bool matchRoot = false,
}) {
  return _DescendantSemanticsFinder(of, matching, matchRoot: matchRoot);
}