ensureInitialized static method

GameDialogMapper ensureInitialized()

Implementation

static GameDialogMapper ensureInitialized() {
  if (_instance == null) {
    MapperContainer.globals.use(_instance = GameDialogMapper._());
    GameDialogComponentMapper.ensureInitialized();
    GameDialogButtonMapper.ensureInitialized();
  }
  return _instance!;
}