ensureInitialized static method

TeamLeftMapper ensureInitialized()

Implementation

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