GoogleCloudDialogflowV2Conversation.fromJson constructor

GoogleCloudDialogflowV2Conversation.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowV2Conversation.fromJson(core.Map json_)
    : this(
        conversationProfile: json_['conversationProfile'] as core.String?,
        conversationStage: json_['conversationStage'] as core.String?,
        endTime: json_['endTime'] as core.String?,
        ingestedContextReferences: (json_['ingestedContextReferences']
                as core.Map<core.String, core.dynamic>?)
            ?.map(
          (key, value) => core.MapEntry(
            key,
            GoogleCloudDialogflowV2ConversationContextReference.fromJson(
                value as core.Map<core.String, core.dynamic>),
          ),
        ),
        lifecycleState: json_['lifecycleState'] as core.String?,
        name: json_['name'] as core.String?,
        phoneNumber: json_.containsKey('phoneNumber')
            ? GoogleCloudDialogflowV2ConversationPhoneNumber.fromJson(
                json_['phoneNumber'] as core.Map<core.String, core.dynamic>)
            : null,
        startTime: json_['startTime'] as core.String?,
        telephonyConnectionInfo: json_.containsKey('telephonyConnectionInfo')
            ? GoogleCloudDialogflowV2ConversationTelephonyConnectionInfo
                .fromJson(json_['telephonyConnectionInfo']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );