GoogleCloudAiplatformV1StudySpecParameterSpecDiscreteValueSpec.fromJson constructor
GoogleCloudAiplatformV1StudySpecParameterSpecDiscreteValueSpec.fromJson(
- Map json_
Implementation
GoogleCloudAiplatformV1StudySpecParameterSpecDiscreteValueSpec.fromJson(
core.Map json_)
: this(
defaultValue: json_.containsKey('defaultValue')
? (json_['defaultValue'] as core.num).toDouble()
: null,
values: json_.containsKey('values')
? (json_['values'] as core.List)
.map((value) => (value as core.num).toDouble())
.toList()
: null,
);