initRoutes method
Initialize routes
Implementation
void initRoutes({String? initialRoute}) {
if (initialRoute != null) {
setInitialRoute(initialRoute);
return;
}
if (_initialRoute != null) {
return;
}
setInitialRoute(NyRouter.getInitialRoute());
}