GoogleCloudDialogflowCxV3RolloutConfig.fromJson constructor

GoogleCloudDialogflowCxV3RolloutConfig.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowCxV3RolloutConfig.fromJson(core.Map json_)
    : this(
        failureCondition: json_.containsKey('failureCondition')
            ? json_['failureCondition'] as core.String
            : null,
        rolloutCondition: json_.containsKey('rolloutCondition')
            ? json_['rolloutCondition'] as core.String
            : null,
        rolloutSteps: json_.containsKey('rolloutSteps')
            ? (json_['rolloutSteps'] as core.List)
                .map((value) =>
                    GoogleCloudDialogflowCxV3RolloutConfigRolloutStep
                        .fromJson(
                            value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );