GoogleCloudDialogflowCxV3RolloutConfigRolloutStep.fromJson constructor

GoogleCloudDialogflowCxV3RolloutConfigRolloutStep.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowCxV3RolloutConfigRolloutStep.fromJson(core.Map json_)
    : this(
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        minDuration: json_.containsKey('minDuration')
            ? json_['minDuration'] as core.String
            : null,
        trafficPercent: json_.containsKey('trafficPercent')
            ? json_['trafficPercent'] as core.int
            : null,
      );