ensureInitialized static method

MessageSentMapper ensureInitialized()

Implementation

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