ensureInitialized static method

EntityModelMapper ensureInitialized()

Implementation

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