GoogleCloudDialogflowCxV3VersionVariantsVariant.fromJson constructor

GoogleCloudDialogflowCxV3VersionVariantsVariant.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowCxV3VersionVariantsVariant.fromJson(core.Map json_)
    : this(
        isControlGroup: json_.containsKey('isControlGroup')
            ? json_['isControlGroup'] as core.bool
            : null,
        trafficAllocation: json_.containsKey('trafficAllocation')
            ? (json_['trafficAllocation'] as core.num).toDouble()
            : null,
        version: json_.containsKey('version')
            ? json_['version'] as core.String
            : null,
      );