GoogleCloudDialogflowCxV3IntentCoverage.fromJson constructor

GoogleCloudDialogflowCxV3IntentCoverage.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowCxV3IntentCoverage.fromJson(core.Map json_)
    : this(
        coverageScore: json_.containsKey('coverageScore')
            ? (json_['coverageScore'] as core.num).toDouble()
            : null,
        intents: json_.containsKey('intents')
            ? (json_['intents'] as core.List)
                .map((value) =>
                    GoogleCloudDialogflowCxV3IntentCoverageIntent.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );