descendant method
- required FinderBase<
SemanticsNode> of, - required FinderBase<
SemanticsNode> matching, - 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);
}