toJson method
Implementation
Map<String, dynamic> toJson() {
final andStatement = this.andStatement;
final byteMatchStatement = this.byteMatchStatement;
final geoMatchStatement = this.geoMatchStatement;
final iPSetReferenceStatement = this.iPSetReferenceStatement;
final managedRuleGroupStatement = this.managedRuleGroupStatement;
final notStatement = this.notStatement;
final orStatement = this.orStatement;
final rateBasedStatement = this.rateBasedStatement;
final regexPatternSetReferenceStatement =
this.regexPatternSetReferenceStatement;
final ruleGroupReferenceStatement = this.ruleGroupReferenceStatement;
final sizeConstraintStatement = this.sizeConstraintStatement;
final sqliMatchStatement = this.sqliMatchStatement;
final xssMatchStatement = this.xssMatchStatement;
return {
if (andStatement != null) 'AndStatement': andStatement,
if (byteMatchStatement != null) 'ByteMatchStatement': byteMatchStatement,
if (geoMatchStatement != null) 'GeoMatchStatement': geoMatchStatement,
if (iPSetReferenceStatement != null)
'IPSetReferenceStatement': iPSetReferenceStatement,
if (managedRuleGroupStatement != null)
'ManagedRuleGroupStatement': managedRuleGroupStatement,
if (notStatement != null) 'NotStatement': notStatement,
if (orStatement != null) 'OrStatement': orStatement,
if (rateBasedStatement != null) 'RateBasedStatement': rateBasedStatement,
if (regexPatternSetReferenceStatement != null)
'RegexPatternSetReferenceStatement': regexPatternSetReferenceStatement,
if (ruleGroupReferenceStatement != null)
'RuleGroupReferenceStatement': ruleGroupReferenceStatement,
if (sizeConstraintStatement != null)
'SizeConstraintStatement': sizeConstraintStatement,
if (sqliMatchStatement != null) 'SqliMatchStatement': sqliMatchStatement,
if (xssMatchStatement != null) 'XssMatchStatement': xssMatchStatement,
};
}