ensureInitialized static method

WorldEventMapper ensureInitialized()

Implementation

static WorldEventMapper ensureInitialized() {
  if (_instance == null) {
    MapperContainer.globals.use(_instance = WorldEventMapper._());
    PlayableWorldEventMapper.ensureInitialized();
    ClientWorldEventMapper.ensureInitialized();
    HybridWorldEventMapper.ensureInitialized();
    LocalWorldEventMapper.ensureInitialized();
  }
  return _instance!;
}