GooglePrivacyDlpV2FindingLimits.fromJson constructor

GooglePrivacyDlpV2FindingLimits.fromJson(
  1. Map json_
)

Implementation

GooglePrivacyDlpV2FindingLimits.fromJson(core.Map json_)
    : this(
        maxFindingsPerInfoType: json_.containsKey('maxFindingsPerInfoType')
            ? (json_['maxFindingsPerInfoType'] as core.List)
                .map((value) => GooglePrivacyDlpV2InfoTypeLimit.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        maxFindingsPerItem: json_.containsKey('maxFindingsPerItem')
            ? json_['maxFindingsPerItem'] as core.int
            : null,
        maxFindingsPerRequest: json_.containsKey('maxFindingsPerRequest')
            ? json_['maxFindingsPerRequest'] as core.int
            : null,
      );