toJson method
Implementation
Map<String, dynamic> toJson() {
final ruleConfiguration = this.ruleConfiguration;
final ruleName = this.ruleName;
return {
'ruleConfiguration': ruleConfiguration,
if (ruleName != null) 'ruleName': ruleName,
};
}