GooglePrivacyDlpV2InfoTypeDescription.fromJson constructor
GooglePrivacyDlpV2InfoTypeDescription.fromJson(
- Map json_
Implementation
GooglePrivacyDlpV2InfoTypeDescription.fromJson(core.Map json_)
: this(
categories:
(json_['categories'] as core.List?)
?.map(
(value) => GooglePrivacyDlpV2InfoTypeCategory.fromJson(
value as core.Map<core.String, core.dynamic>,
),
)
.toList(),
description: json_['description'] as core.String?,
displayName: json_['displayName'] as core.String?,
example: json_['example'] as core.String?,
locationSupport:
json_.containsKey('locationSupport')
? GooglePrivacyDlpV2LocationSupport.fromJson(
json_['locationSupport']
as core.Map<core.String, core.dynamic>,
)
: null,
name: json_['name'] as core.String?,
sensitivityScore:
json_.containsKey('sensitivityScore')
? GooglePrivacyDlpV2SensitivityScore.fromJson(
json_['sensitivityScore']
as core.Map<core.String, core.dynamic>,
)
: null,
specificInfoTypes:
(json_['specificInfoTypes'] as core.List?)
?.map((value) => value as core.String)
.toList(),
supportedBy:
(json_['supportedBy'] as core.List?)
?.map((value) => value as core.String)
.toList(),
versions:
(json_['versions'] as core.List?)
?.map(
(value) => GooglePrivacyDlpV2VersionDescription.fromJson(
value as core.Map<core.String, core.dynamic>,
),
)
.toList(),
);