ensureInitialized static method

WorldInitializedMapper ensureInitialized()

Implementation

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