ConfigVariableTemplate.fromJson constructor
ConfigVariableTemplate.fromJson(
- Map json_
Implementation
ConfigVariableTemplate.fromJson(core.Map json_)
: this(
authorizationCodeLink: json_.containsKey('authorizationCodeLink')
? AuthorizationCodeLink.fromJson(json_['authorizationCodeLink']
as core.Map<core.String, core.dynamic>)
: null,
description: json_.containsKey('description')
? json_['description'] as core.String
: null,
displayName: json_.containsKey('displayName')
? json_['displayName'] as core.String
: null,
enumOptions: json_.containsKey('enumOptions')
? (json_['enumOptions'] as core.List)
.map((value) => EnumOption.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
enumSource: json_.containsKey('enumSource')
? json_['enumSource'] as core.String
: null,
isAdvanced: json_.containsKey('isAdvanced')
? json_['isAdvanced'] as core.bool
: null,
key: json_.containsKey('key') ? json_['key'] as core.String : null,
locationType: json_.containsKey('locationType')
? json_['locationType'] as core.String
: null,
multipleSelectConfig: json_.containsKey('multipleSelectConfig')
? MultipleSelectConfig.fromJson(json_['multipleSelectConfig']
as core.Map<core.String, core.dynamic>)
: null,
required: json_.containsKey('required')
? json_['required'] as core.bool
: null,
requiredCondition: json_.containsKey('requiredCondition')
? LogicalExpression.fromJson(json_['requiredCondition']
as core.Map<core.String, core.dynamic>)
: null,
roleGrant: json_.containsKey('roleGrant')
? RoleGrant.fromJson(
json_['roleGrant'] as core.Map<core.String, core.dynamic>)
: null,
state:
json_.containsKey('state') ? json_['state'] as core.String : null,
validationRegex: json_.containsKey('validationRegex')
? json_['validationRegex'] as core.String
: null,
valueType: json_.containsKey('valueType')
? json_['valueType'] as core.String
: null,
);