toJson method

String toJson()
inherited

Implementation

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