ensureInitialized static method

BackgroundTranslationMapper ensureInitialized()

Implementation

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