ensureInitialized static method

ResetWorldMapper ensureInitialized()

Implementation

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