ModuleManager constructor

ModuleManager(
  1. ModuleDispatcher dispatcher,
  2. Map<String, FactoryFunc> factories
)

Implementation

factory ModuleManager(
    ModuleDispatcher dispatcher, Map<String, FactoryFunc> factories)
{
  _manager = _manager ?? ModuleManager._internal(dispatcher, factories);
  return _manager!;
}