GoogleCloudDialogflowV2Conversation.fromJson constructor

GoogleCloudDialogflowV2Conversation.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowV2Conversation.fromJson(core.Map json_)
    : this(
        conversationProfile: json_.containsKey('conversationProfile')
            ? json_['conversationProfile'] as core.String
            : null,
        conversationStage: json_.containsKey('conversationStage')
            ? json_['conversationStage'] as core.String
            : null,
        endTime: json_.containsKey('endTime')
            ? json_['endTime'] as core.String
            : null,
        lifecycleState: json_.containsKey('lifecycleState')
            ? json_['lifecycleState'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        phoneNumber: json_.containsKey('phoneNumber')
            ? GoogleCloudDialogflowV2ConversationPhoneNumber.fromJson(
                json_['phoneNumber'] as core.Map<core.String, core.dynamic>)
            : null,
        startTime: json_.containsKey('startTime')
            ? json_['startTime'] as core.String
            : null,
      );