toJson method
Implementation
@override
Map<String, dynamic> toJson() {
return {
'id': id,
'type': type,
'group': group,
'request_id': requestID,
'filters': filters.map((e) => e.toJson()).toList(),
'actions_if_success': actionsIfSuccess.map((e) => e.toJson()).toList(),
'actions_if_error': actionsIfError.map((e) => e.toJson()).toList(),
};
}