ensureInitialized static method

InsightModelMapper ensureInitialized()

Implementation

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