Target.within constructor

const Target.within(
  1. Object scope,
  2. Object child
)

child as found inside scope — the scoped lookup that turns "the Buy button of this card" from a find.descendant incantation into a line that reads. scope matches itself too, so scoping to a ListTile and asking for that same tile finds it.

Implementation

const factory Target.within(Object scope, Object child) = _Within;