initStore method

void initStore(
  1. ControlFactory factory, {
  2. bool includeSubModules = false,
})

Implementation

void initStore(ControlFactory factory, {bool includeSubModules = false}) {
  _initModuleStore(factory, this);

  if (includeSubModules) {
    getInactiveSubmodules(factory).forEach((element) {
      _initModuleStore(factory, element);
    });
  }
}