GoogleCloudRecaptchaenterpriseV1Event.fromJson constructor
GoogleCloudRecaptchaenterpriseV1Event.fromJson(
- Map json_
Implementation
GoogleCloudRecaptchaenterpriseV1Event.fromJson(core.Map json_)
: this(
expectedAction: json_.containsKey('expectedAction')
? json_['expectedAction'] as core.String
: null,
express: json_.containsKey('express')
? json_['express'] as core.bool
: null,
firewallPolicyEvaluation:
json_.containsKey('firewallPolicyEvaluation')
? json_['firewallPolicyEvaluation'] as core.bool
: null,
fraudPrevention: json_.containsKey('fraudPrevention')
? json_['fraudPrevention'] as core.String
: null,
hashedAccountId: json_.containsKey('hashedAccountId')
? json_['hashedAccountId'] as core.String
: null,
headers: json_.containsKey('headers')
? (json_['headers'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
ja3: json_.containsKey('ja3') ? json_['ja3'] as core.String : null,
requestedUri: json_.containsKey('requestedUri')
? json_['requestedUri'] as core.String
: null,
siteKey: json_.containsKey('siteKey')
? json_['siteKey'] as core.String
: null,
token:
json_.containsKey('token') ? json_['token'] as core.String : null,
transactionData: json_.containsKey('transactionData')
? GoogleCloudRecaptchaenterpriseV1TransactionData.fromJson(
json_['transactionData']
as core.Map<core.String, core.dynamic>)
: null,
userAgent: json_.containsKey('userAgent')
? json_['userAgent'] as core.String
: null,
userInfo: json_.containsKey('userInfo')
? GoogleCloudRecaptchaenterpriseV1UserInfo.fromJson(
json_['userInfo'] as core.Map<core.String, core.dynamic>)
: null,
userIpAddress: json_.containsKey('userIpAddress')
? json_['userIpAddress'] as core.String
: null,
wafTokenAssessment: json_.containsKey('wafTokenAssessment')
? json_['wafTokenAssessment'] as core.bool
: null,
);