toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (conditions != null) 'conditions': conditions!,
if (eventActions != null) 'eventActions': eventActions!,
if (expression != null) 'expression': expression!,
if (id != null) 'id': id!,
};