ensureInitialized static method

PackTranslationMapper ensureInitialized()

Implementation

static PackTranslationMapper ensureInitialized() {
  if (_instance == null) {
    MapperContainer.globals.use(_instance = PackTranslationMapper._());
    DeckTranslationMapper.ensureInitialized();
    FigureTranslationMapper.ensureInitialized();
    BackgroundTranslationMapper.ensureInitialized();
    BoardTranslationMapper.ensureInitialized();
  }
  return _instance!;
}