ensureInitialized static method

ReferralModelMapper ensureInitialized()

Implementation

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