toJson method
Implementation
Map<String, dynamic> toJson() {
final actions = this.actions;
final description = this.description;
final name = this.name;
final predicate = this.predicate;
final schedule = this.schedule;
return {
if (actions != null) 'Actions': actions,
if (description != null) 'Description': description,
if (name != null) 'Name': name,
if (predicate != null) 'Predicate': predicate,
if (schedule != null) 'Schedule': schedule,
};
}