ensureInitialized static method

DialogOpenedMapper ensureInitialized()

Implementation

static DialogOpenedMapper ensureInitialized() {
  if (_instance == null) {
    MapperContainer.globals.use(_instance = DialogOpenedMapper._());
    ServerWorldEventMapper.ensureInitialized().addSubMapper(_instance!);
    GameDialogMapper.ensureInitialized();
  }
  return _instance!;
}