processControllers method

void processControllers(
  1. List<ViewControllerGenerator>? generators
)

Implementation

void processControllers(List<ViewControllerGenerator>? generators) {
  if (generators == null || generators.isEmpty) {
    return;
  }

  for (var controllerFactory in generators) {
    _controllerRegistry.addControllerHolder(
      controllerFactory.name,
      ControllerHolder(
        controllerFactory.generateController,
        controllerFactory.isLazy,
      ),
    );
  }
}