GoogleCloudDialogflowCxV3FormParameterFillBehavior.fromMap constructor

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

Implementation

factory GoogleCloudDialogflowCxV3FormParameterFillBehavior.fromMap(Map<String, dynamic> map) {
  return GoogleCloudDialogflowCxV3FormParameterFillBehavior(
    initialPromptFulfillment: pulumi.Input.fromValue(GoogleCloudDialogflowCxV3Fulfillment.fromMap((map['initialPromptFulfillment']! as Map).cast<String, dynamic>())),
    repromptEventHandlers: (() { final guardedValue = map['repromptEventHandlers']; if (guardedValue == null) return null; return pulumi.Input.fromValue(pulumi.Input.decodeList<GoogleCloudDialogflowCxV3EventHandler>(guardedValue, (value) => GoogleCloudDialogflowCxV3EventHandler.fromMap((value as Map).cast<String, dynamic>()))); })(),
  );
}