toJson method
Implementation
Map<String, dynamic> toJson() {
final actions = this.actions;
final eventFilter = this.eventFilter;
return {
'Actions': actions,
if (eventFilter != null)
'EventFilter': eventFilter.map((e) => e.toValue()).toList(),
};
}