ensureInitialized static method

GameDialogComponentValueMapper ensureInitialized()

Implementation

static GameDialogComponentValueMapper ensureInitialized() {
  if (_instance == null) {
    MapperContainer.globals
        .use(_instance = GameDialogComponentValueMapper._());
    GameDialogTextFieldValueMapper.ensureInitialized();
  }
  return _instance!;
}