ensureInitialized static method

MessageRequestMapper ensureInitialized()

Implementation

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