addViewModel static method

void addViewModel(
  1. String key,
  2. ViewModel viewModel
)

Implementation

static void addViewModel(String key, ViewModel viewModel) {
  activeViewModels[key] = viewModel;
}