ensureInitialized static method

ChatMessageMapper ensureInitialized()

Implementation

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