ensureInitialized static method

BackgroundChangedMapper ensureInitialized()

Implementation

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