findByAncestor method

  1. @override
SerializableFinder findByAncestor(
  1. SerializableFinder of,
  2. SerializableFinder matching, {
  3. bool matchRoot = false,
  4. bool firstMatchOnly = false,
})
override

Implementation

@override
SerializableFinder findByAncestor(
  SerializableFinder of,
  SerializableFinder matching, {
  bool matchRoot = false,
  bool firstMatchOnly = false,
}) {
  return find.ancestor(
    of: of,
    matching: matching,
    matchRoot: matchRoot,
    firstMatchOnly: firstMatchOnly,
  );
}