ensureInitialized static method

UserJoinedMapper ensureInitialized()

Implementation

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