GoogleCloudApihubV1ConfigVariableTemplate.fromJson constructor
GoogleCloudApihubV1ConfigVariableTemplate.fromJson(
- Map json_
Implementation
GoogleCloudApihubV1ConfigVariableTemplate.fromJson(core.Map json_)
: this(
description: json_['description'] as core.String?,
enumOptions:
(json_['enumOptions'] as core.List?)
?.map(
(value) => GoogleCloudApihubV1ConfigValueOption.fromJson(
value as core.Map<core.String, core.dynamic>,
),
)
.toList(),
id: json_['id'] as core.String?,
multiSelectOptions:
(json_['multiSelectOptions'] as core.List?)
?.map(
(value) => GoogleCloudApihubV1ConfigValueOption.fromJson(
value as core.Map<core.String, core.dynamic>,
),
)
.toList(),
required: json_['required'] as core.bool?,
validationRegex: json_['validationRegex'] as core.String?,
valueType: json_['valueType'] as core.String?,
);