toJson method

String toJson()

Implementation

String toJson() {
  return ChatMessageMapper.ensureInitialized()
      .encodeJson<ChatMessage>(this as ChatMessage);
}