GooglePrivacyDlpV2Key.fromJson constructor

GooglePrivacyDlpV2Key.fromJson(
  1. Map json_
)

Implementation

GooglePrivacyDlpV2Key.fromJson(core.Map json_)
    : this(
        partitionId: json_.containsKey('partitionId')
            ? GooglePrivacyDlpV2PartitionId.fromJson(
                json_['partitionId'] as core.Map<core.String, core.dynamic>)
            : null,
        path: json_.containsKey('path')
            ? (json_['path'] as core.List)
                .map((value) => GooglePrivacyDlpV2PathElement.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );