ensureInitialized static method

ProductModelMapper ensureInitialized()

Implementation

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