ensureInitialized static method

LocalWorldEventMapper ensureInitialized()

Implementation

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