GoogleCloudAiplatformV1StudySpecParameterSpecCategoricalValueSpec.fromJson constructor

GoogleCloudAiplatformV1StudySpecParameterSpecCategoricalValueSpec.fromJson(
  1. Map json_
)

Implementation

GoogleCloudAiplatformV1StudySpecParameterSpecCategoricalValueSpec.fromJson(
    core.Map json_)
    : this(
        defaultValue: json_.containsKey('defaultValue')
            ? json_['defaultValue'] as core.String
            : null,
        values: json_.containsKey('values')
            ? (json_['values'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );