ensureInitialized static method

BoardDefinitionMapper ensureInitialized()

Implementation

static BoardDefinitionMapper ensureInitialized() {
  if (_instance == null) {
    MapperContainer.globals.use(_instance = BoardDefinitionMapper._());
    VectorDefinitionMapper.ensureInitialized();
  }
  return _instance!;
}