GoogleCloudContactcenterinsightsV1GenerativeInsightsChartConversation.fromJson constructor

GoogleCloudContactcenterinsightsV1GenerativeInsightsChartConversation.fromJson(
  1. Map json_
)

Implementation

GoogleCloudContactcenterinsightsV1GenerativeInsightsChartConversation.fromJson(
  core.Map json_,
) : this(
      conversationId: json_['conversationId'] as core.String?,
      createTime: json_['createTime'] as core.String?,
      messages: (json_['messages'] as core.List?)
          ?.map(
            (value) =>
                GoogleCloudContactcenterinsightsV1GenerativeInsightsChartConversationMessage.fromJson(
                  value as core.Map<core.String, core.dynamic>,
                ),
          )
          .toList(),
      updateTime: json_['updateTime'] as core.String?,
    );