toJson method
Implementation
Map<String, dynamic> toJson() {
return {
'default_status': defaultStatus.value,
'has_custom_routing': hasCustomRouting,
'custom_routing': customRouting,
'status': status.value,
'topic_id': topicId,
'topic_name': topicName,
'section_name': sectionName,
'section_id': sectionId,
};
}