ensureInitialized static method

UserModelMapper ensureInitialized()

Implementation

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