ensureInitialized static method

LocalityModelMapper ensureInitialized()

Implementation

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