Goal<T>.any constructor

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

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

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

Implementation

const factory Goal.any(List<Goal<T>> goals) = _AnyGoal<T>;