logicForRoute method

AutoDisposeChangeNotifierProvider<BaseLogic>? logicForRoute()

Implementation

AutoDisposeChangeNotifierProvider<BaseLogic>? logicForRoute() {
  for (var info in FlickerConfiguration.routes) {
    if (info.routeName == routeName) return info.logicProvider;
  }
  return null;
}