Goal<T>.every constructor

const Goal<T>.every(
  1. List<Goal<T>> goals
)

Creates a goal that matches all of the goals in goals.

If the list is empty, the goal will never match any node.

Implementation

const factory Goal.every(List<Goal<T>> goals) = _EveryGoal<T>;