GoogleCloudRecaptchaenterpriseV1PrivatePasswordLeakVerification.fromJson constructor

GoogleCloudRecaptchaenterpriseV1PrivatePasswordLeakVerification.fromJson(
  1. Map json_
)

Implementation

GoogleCloudRecaptchaenterpriseV1PrivatePasswordLeakVerification.fromJson(
    core.Map json_)
    : this(
        encryptedLeakMatchPrefixes:
            json_.containsKey('encryptedLeakMatchPrefixes')
                ? (json_['encryptedLeakMatchPrefixes'] as core.List)
                    .map((value) => value as core.String)
                    .toList()
                : null,
        encryptedUserCredentialsHash:
            json_.containsKey('encryptedUserCredentialsHash')
                ? json_['encryptedUserCredentialsHash'] as core.String
                : null,
        lookupHashPrefix: json_.containsKey('lookupHashPrefix')
            ? json_['lookupHashPrefix'] as core.String
            : null,
        reencryptedUserCredentialsHash:
            json_.containsKey('reencryptedUserCredentialsHash')
                ? json_['reencryptedUserCredentialsHash'] as core.String
                : null,
      );