attachToParent method
Implementation
@override
void attachToParent(Binding parent) {
super.attachToParent(parent);
if (findAncestorBindingOfType<GatewayBinding>() == null) {
throw UnsupportedError("""
Incorrect use of parent component
[Route] working with Gateway.
But using with: $parent , ${parent.component}
if you want to only one route use [RouteTo] component
WHERE: $_errorWhere
""");
}
}