ensureInitialized static method

CellSwitchedMapper ensureInitialized()

Implementation

static CellSwitchedMapper ensureInitialized() {
  if (_instance == null) {
    MapperContainer.globals.use(_instance = CellSwitchedMapper._());
    HybridWorldEventMapper.ensureInitialized().addSubMapper(_instance!);
    VectorDefinitionMapper.ensureInitialized();
  }
  return _instance!;
}