switchModule method

void switchModule(
  1. String moduleName
)

Implementation

void switchModule(String moduleName) {
  assert(cachedModules.containsKey(moduleName));
  setContext(context: HTContext(moduleName: moduleName));
}