GetConversationProfileDialogflowV2beta1Result.fromMap constructor

GetConversationProfileDialogflowV2beta1Result.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory GetConversationProfileDialogflowV2beta1Result.fromMap(Map<String, dynamic> map) {
  return GetConversationProfileDialogflowV2beta1Result(
    automatedAgentConfig: GoogleCloudDialogflowV2beta1AutomatedAgentConfigResponse.fromMap((map['automatedAgentConfig']! as Map).cast<String, dynamic>()),
    createTime: map['createTime'] as String,
    displayName: map['displayName'] as String,
    humanAgentAssistantConfig: GoogleCloudDialogflowV2beta1HumanAgentAssistantConfigResponse.fromMap((map['humanAgentAssistantConfig']! as Map).cast<String, dynamic>()),
    humanAgentHandoffConfig: GoogleCloudDialogflowV2beta1HumanAgentHandoffConfigResponse.fromMap((map['humanAgentHandoffConfig']! as Map).cast<String, dynamic>()),
    languageCode: map['languageCode'] as String,
    loggingConfig: GoogleCloudDialogflowV2beta1LoggingConfigResponse.fromMap((map['loggingConfig']! as Map).cast<String, dynamic>()),
    name: map['name'] as String,
    newMessageEventNotificationConfig: GoogleCloudDialogflowV2beta1NotificationConfigResponse.fromMap((map['newMessageEventNotificationConfig']! as Map).cast<String, dynamic>()),
    notificationConfig: GoogleCloudDialogflowV2beta1NotificationConfigResponse.fromMap((map['notificationConfig']! as Map).cast<String, dynamic>()),
    securitySettings: map['securitySettings'] as String,
    sttConfig: GoogleCloudDialogflowV2beta1SpeechToTextConfigResponse.fromMap((map['sttConfig']! as Map).cast<String, dynamic>()),
    timeZone: map['timeZone'] as String,
    ttsConfig: GoogleCloudDialogflowV2beta1SynthesizeSpeechConfigResponse.fromMap((map['ttsConfig']! as Map).cast<String, dynamic>()),
    updateTime: map['updateTime'] as String,
  );
}