DivContainerViewModel constructor

DivContainerViewModel(
  1. GroupViewModel viewModel
)

Implementation

DivContainerViewModel(GroupViewModel viewModel)
    : _viewModel = viewModel,
      context = viewModel.context,
      overflow = viewModel.overflow,
      name = viewModel.name,
      childrenMap = viewModel.childrenMap {
  sortedIdList.addAll(viewModel.sortedIdList);
}