ensureInitialized static method

ServiceModelMapper ensureInitialized()

Implementation

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