GoogleCloudDialogflowCxV3CalculateCoverageResponse.fromJson constructor

GoogleCloudDialogflowCxV3CalculateCoverageResponse.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowCxV3CalculateCoverageResponse.fromJson(core.Map json_)
    : this(
        agent:
            json_.containsKey('agent') ? json_['agent'] as core.String : null,
        intentCoverage: json_.containsKey('intentCoverage')
            ? GoogleCloudDialogflowCxV3IntentCoverage.fromJson(
                json_['intentCoverage']
                    as core.Map<core.String, core.dynamic>)
            : null,
        routeGroupCoverage: json_.containsKey('routeGroupCoverage')
            ? GoogleCloudDialogflowCxV3TransitionRouteGroupCoverage.fromJson(
                json_['routeGroupCoverage']
                    as core.Map<core.String, core.dynamic>)
            : null,
        transitionCoverage: json_.containsKey('transitionCoverage')
            ? GoogleCloudDialogflowCxV3TransitionCoverage.fromJson(
                json_['transitionCoverage']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );