GoogleCloudDialogflowCxV3VersionVariants.fromJson constructor

GoogleCloudDialogflowCxV3VersionVariants.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowCxV3VersionVariants.fromJson(core.Map json_)
    : this(
        variants: json_.containsKey('variants')
            ? (json_['variants'] as core.List)
                .map((value) =>
                    GoogleCloudDialogflowCxV3VersionVariantsVariant.fromJson(
                        value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );