GoogleCloudDialogflowV2beta1IntentMessageRbmText.fromMap constructor
GoogleCloudDialogflowV2beta1IntentMessageRbmText.fromMap(
- Map<String, dynamic> map
)
Implementation
factory GoogleCloudDialogflowV2beta1IntentMessageRbmText.fromMap(Map<String, dynamic> map) {
return GoogleCloudDialogflowV2beta1IntentMessageRbmText(
rbmSuggestion: (() { final guardedValue = map['rbmSuggestion']; if (guardedValue == null) return null; return pulumi.Input.fromValue(pulumi.Input.decodeList<GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion>(guardedValue, (value) => GoogleCloudDialogflowV2beta1IntentMessageRbmSuggestion.fromMap((value as Map).cast<String, dynamic>()))); })(),
text: pulumi.Input.fromValue(map['text'] as String),
);
}