ensureInitialized static method

BackgroundDefinitionMapper ensureInitialized()

Implementation

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