GooglePrivacyDlpV2RecordKey.fromJson constructor

GooglePrivacyDlpV2RecordKey.fromJson(
  1. Map json_
)

Implementation

GooglePrivacyDlpV2RecordKey.fromJson(core.Map json_)
    : this(
        bigQueryKey: json_.containsKey('bigQueryKey')
            ? GooglePrivacyDlpV2BigQueryKey.fromJson(
                json_['bigQueryKey'] as core.Map<core.String, core.dynamic>)
            : null,
        datastoreKey: json_.containsKey('datastoreKey')
            ? GooglePrivacyDlpV2DatastoreKey.fromJson(
                json_['datastoreKey'] as core.Map<core.String, core.dynamic>)
            : null,
        idValues: json_.containsKey('idValues')
            ? (json_['idValues'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );