findChild method

RouteNode? findChild(
  1. String name
)

Implementation

RouteNode? findChild(String name) {
  return nodeSegments.firstWhereOrNull((node) => node.path == name);
}