toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (invalidRules != null) 'invalidRules': invalidRules!,
if (matchedRules != null) 'matchedRules': matchedRules!,
if (triggeredRules != null) 'triggeredRules': triggeredRules!,
};