ensureInitialized static method

GameDialogComponentMapper ensureInitialized()

Implementation

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