toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (expectedAction != null) 'expectedAction': expectedAction!,
      if (express != null) 'express': express!,
      if (firewallPolicyEvaluation != null)
        'firewallPolicyEvaluation': firewallPolicyEvaluation!,
      if (fraudPrevention != null) 'fraudPrevention': fraudPrevention!,
      if (hashedAccountId != null) 'hashedAccountId': hashedAccountId!,
      if (headers != null) 'headers': headers!,
      if (ja3 != null) 'ja3': ja3!,
      if (requestedUri != null) 'requestedUri': requestedUri!,
      if (siteKey != null) 'siteKey': siteKey!,
      if (token != null) 'token': token!,
      if (transactionData != null) 'transactionData': transactionData!,
      if (userAgent != null) 'userAgent': userAgent!,
      if (userInfo != null) 'userInfo': userInfo!,
      if (userIpAddress != null) 'userIpAddress': userIpAddress!,
      if (wafTokenAssessment != null)
        'wafTokenAssessment': wafTokenAssessment!,
    };