ensureInitialized static method

FigureTranslationMapper ensureInitialized()

Implementation

static FigureTranslationMapper ensureInitialized() {
  if (_instance == null) {
    MapperContainer.globals.use(_instance = FigureTranslationMapper._());
    DescriptiveTranslationMapper.ensureInitialized();
    FigureVariationTranslationMapper.ensureInitialized();
  }
  return _instance!;
}