HyperRoute<T extends RouteValue> constructor

HyperRoute<T extends RouteValue>({
  1. List<HyperRoute<RouteValue>> children = const [],
})

Implementation

HyperRoute({
  this.children = const [],
}) {
  for (final child in children) {
    child.parent = this;
  }
}