GoogleCloudMlV1StudyConfigParameterSpecDiscreteValueSpec.fromJson constructor

GoogleCloudMlV1StudyConfigParameterSpecDiscreteValueSpec.fromJson(
  1. Map json_
)

Implementation

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