ensureInitialized static method

TeamJoinedMapper ensureInitialized()

Implementation

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