GoogleCloudDialogflowCxV3FormParameterFillBehavior.fromJson constructor

GoogleCloudDialogflowCxV3FormParameterFillBehavior.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowCxV3FormParameterFillBehavior.fromJson(core.Map json_)
    : this(
        initialPromptFulfillment:
            json_.containsKey('initialPromptFulfillment')
                ? GoogleCloudDialogflowCxV3Fulfillment.fromJson(
                    json_['initialPromptFulfillment']
                        as core.Map<core.String, core.dynamic>)
                : null,
        repromptEventHandlers: json_.containsKey('repromptEventHandlers')
            ? (json_['repromptEventHandlers'] as core.List)
                .map((value) =>
                    GoogleCloudDialogflowCxV3EventHandler.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );