GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig.fromJson constructor

GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig.fromJson(
  1. Map json_
)

Implementation

GoogleCloudDialogflowCxV3EnvironmentTestCasesConfig.fromJson(core.Map json_)
    : this(
        enableContinuousRun: json_.containsKey('enableContinuousRun')
            ? json_['enableContinuousRun'] as core.bool
            : null,
        enablePredeploymentRun: json_.containsKey('enablePredeploymentRun')
            ? json_['enablePredeploymentRun'] as core.bool
            : null,
        testCases: json_.containsKey('testCases')
            ? (json_['testCases'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );