toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (conversationProfile != null)
'conversationProfile': conversationProfile!,
if (latestMessage != null) 'latestMessage': latestMessage!,
if (maxContextSize != null) 'maxContextSize': maxContextSize!,
if (statelessConversation != null)
'statelessConversation': statelessConversation!,
};