cast<RR, PP extends RouteParams> abstract method
Casts this route to the expected type. If the cast is invalid, you may have errors when running the functions because parameters are not cast correctly
Implementation
AppRoute<RR, PP> cast<RR, PP extends RouteParams>();