ensureInitialized static method

TeamChangedMapper ensureInitialized()

Implementation

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