GoogleCloudDialogflowCxV3TransitionCoverageTransition.fromJson constructor

GoogleCloudDialogflowCxV3TransitionCoverageTransition.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowCxV3TransitionCoverageTransition.fromJson(core.Map json_)
    : this(
        covered: json_.containsKey('covered')
            ? json_['covered'] as core.bool
            : null,
        eventHandler: json_.containsKey('eventHandler')
            ? GoogleCloudDialogflowCxV3EventHandler.fromJson(
                json_['eventHandler'] as core.Map<core.String, core.dynamic>)
            : null,
        index: json_.containsKey('index') ? json_['index'] as core.int : null,
        source: json_.containsKey('source')
            ? GoogleCloudDialogflowCxV3TransitionCoverageTransitionNode
                .fromJson(
                    json_['source'] as core.Map<core.String, core.dynamic>)
            : null,
        target: json_.containsKey('target')
            ? GoogleCloudDialogflowCxV3TransitionCoverageTransitionNode
                .fromJson(
                    json_['target'] as core.Map<core.String, core.dynamic>)
            : null,
        transitionRoute: json_.containsKey('transitionRoute')
            ? GoogleCloudDialogflowCxV3TransitionRoute.fromJson(
                json_['transitionRoute']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );