toJson method

Map<String, dynamic> toJson()

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!,
    };