ensureInitialized static method

PgrServiceModelMapper ensureInitialized()

Implementation

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