descendsFrom method

bool descendsFrom(
  1. State<T> other
)

Whether this state descends from another.

Implementation

bool descendsFrom(State<T> other) => ancestors().contains(other);