ensureInitialized static method

NameModelMapper ensureInitialized()

Implementation

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