ensureInitialized static method

FigureDefinitionMapper ensureInitialized()

Implementation

static FigureDefinitionMapper ensureInitialized() {
  if (_instance == null) {
    MapperContainer.globals.use(_instance = FigureDefinitionMapper._());
    VariationDefinitionMapper.ensureInitialized();
    FigureBackDefinitionMapper.ensureInitialized();
  }
  return _instance!;
}