ensureInitialized static method

StockModelMapper ensureInitialized()

Implementation

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