ensureInitialized static method

BoardMoveRequestMapper ensureInitialized()

Implementation

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