GoogleChromePolicyVersionsV1PolicySchemaFieldKnownValueDescription.fromJson constructor

GoogleChromePolicyVersionsV1PolicySchemaFieldKnownValueDescription.fromJson(
  1. Map json_
)

Implementation

GoogleChromePolicyVersionsV1PolicySchemaFieldKnownValueDescription.fromJson(
    core.Map json_)
    : this(
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        fieldDependencies: json_.containsKey('fieldDependencies')
            ? (json_['fieldDependencies'] as core.List)
                .map((value) =>
                    GoogleChromePolicyVersionsV1PolicySchemaFieldDependencies
                        .fromJson(
                            value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        value:
            json_.containsKey('value') ? json_['value'] as core.String : null,
      );