ensureInitialized static method

ObjectsChangedMapper ensureInitialized()

Implementation

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