ensureInitialized static method

GenderMapper ensureInitialized()

Implementation

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