GoogleChromePolicyVersionsV1PolicySchemaFieldDescription.fromJson constructor
GoogleChromePolicyVersionsV1PolicySchemaFieldDescription.fromJson(
- Map json_
Implementation
GoogleChromePolicyVersionsV1PolicySchemaFieldDescription.fromJson(
core.Map json_)
: this(
defaultValue: json_['defaultValue'],
description: json_['description'] as core.String?,
field: json_['field'] as core.String?,
fieldConstraints: json_.containsKey('fieldConstraints')
? GoogleChromePolicyVersionsV1FieldConstraints.fromJson(
json_['fieldConstraints']
as core.Map<core.String, core.dynamic>)
: null,
fieldDependencies: (json_['fieldDependencies'] as core.List?)
?.map((value) =>
GoogleChromePolicyVersionsV1PolicySchemaFieldDependencies
.fromJson(value as core.Map<core.String, core.dynamic>))
.toList(),
fieldDescription: json_['fieldDescription'] as core.String?,
inputConstraint: json_['inputConstraint'] as core.String?,
knownValueDescriptions: (json_['knownValueDescriptions']
as core.List?)
?.map((value) =>
GoogleChromePolicyVersionsV1PolicySchemaFieldKnownValueDescription
.fromJson(value as core.Map<core.String, core.dynamic>))
.toList(),
name: json_['name'] as core.String?,
nestedFieldDescriptions: (json_['nestedFieldDescriptions']
as core.List?)
?.map((value) =>
GoogleChromePolicyVersionsV1PolicySchemaFieldDescription
.fromJson(value as core.Map<core.String, core.dynamic>))
.toList(),
requiredItems: (json_['requiredItems'] as core.List?)
?.map((value) =>
GoogleChromePolicyVersionsV1PolicySchemaRequiredItems
.fromJson(value as core.Map<core.String, core.dynamic>))
.toList(),
);