GoogleCloudDialogflowV2beta1NotificationConfig.fromMap constructor

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

Implementation

factory GoogleCloudDialogflowV2beta1NotificationConfig.fromMap(Map<String, dynamic> map) {
  return GoogleCloudDialogflowV2beta1NotificationConfig(
    messageFormat: (() { final guardedValue = map['messageFormat']; if (guardedValue == null) return null; return pulumi.Input.fromValue(GoogleCloudDialogflowV2beta1NotificationConfigMessageFormat.fromValue(guardedValue as String)); })(),
    topic: (() { final guardedValue = map['topic']; if (guardedValue == null) return null; return pulumi.Input.fromValue(guardedValue as String); })(),
  );
}