GoogleCloudDialogflowCxV3TransitionRouteGroupCoverageCoverage.fromJson constructor

GoogleCloudDialogflowCxV3TransitionRouteGroupCoverageCoverage.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowCxV3TransitionRouteGroupCoverageCoverage.fromJson(
    core.Map json_)
    : this(
        coverageScore: json_.containsKey('coverageScore')
            ? (json_['coverageScore'] as core.num).toDouble()
            : null,
        routeGroup: json_.containsKey('routeGroup')
            ? GoogleCloudDialogflowCxV3TransitionRouteGroup.fromJson(
                json_['routeGroup'] as core.Map<core.String, core.dynamic>)
            : null,
        transitions: json_.containsKey('transitions')
            ? (json_['transitions'] as core.List)
                .map((value) =>
                    GoogleCloudDialogflowCxV3TransitionRouteGroupCoverageCoverageTransition
                        .fromJson(
                            value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );