ensureInitialized static method

ModeChangeRequestMapper ensureInitialized()

Implementation

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