GoogleCloudDialogflowCxV3EventHandler.fromJson constructor

GoogleCloudDialogflowCxV3EventHandler.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowCxV3EventHandler.fromJson(core.Map json_)
    : this(
        event:
            json_.containsKey('event') ? json_['event'] as core.String : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        targetFlow: json_.containsKey('targetFlow')
            ? json_['targetFlow'] as core.String
            : null,
        targetPage: json_.containsKey('targetPage')
            ? json_['targetPage'] as core.String
            : null,
        triggerFulfillment: json_.containsKey('triggerFulfillment')
            ? GoogleCloudDialogflowCxV3Fulfillment.fromJson(
                json_['triggerFulfillment']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );