core.Map<core.String, core.dynamic> toJson() => { if (actionRuleId != null) 'actionRuleId': actionRuleId!, };