createNode method
Implementation
@override
RouteNode createNode({RouteNode? next, T? value}) {
value ??= defaultValue;
if (value == null) {
throw HyperError("No value provided for ValueRoute<$key>");
}
return ValueNode(
buildPage: (context) => buildPage(context, value!),
next: next,
value: value,
urlParser: urlParser,
route: this,
);
}