ensureInitialized static method

DialogsClosedMapper ensureInitialized()

Implementation

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