forEach method

void forEach(
  1. void action(
    1. RouteNode<RouteValue> node
    )
)

Implementation

void forEach(void Function(RouteNode node) action) {
  RouteNode? curr = this;
  while (curr != null) {
    action(curr);
    curr = curr.next;
  }
}