createRootView method

void createRootView(
  1. T loadContext,
  2. RootWidgetViewModel viewModel
)

Implementation

void createRootView(T loadContext, RootWidgetViewModel viewModel) {
  _loadContextMap[viewModel.id] = loadContext;
  _domHolder.addRoot(_domHolder.id, viewModel.id);
}