ensureInitialized static method

TargetModelMapper ensureInitialized()

Implementation

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