Ancestor constructor

const Ancestor({
  1. required SerializableFinder of,
  2. required SerializableFinder matching,
  3. bool matchRoot = false,
  4. bool firstMatchOnly = false,
})

Creates an ancestor finder.

Implementation

const Ancestor({
  required this.of,
  required this.matching,
  this.matchRoot = false,
  this.firstMatchOnly = false,
});