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