toJson method
Implementation
Map<String, dynamic> toJson() {
return {
'uuid': uuid,
'tag': tag,
'title': title,
'level': level,
'destination': destination?.toJson(),
'childList': childList.map((e) => e.toJson()).toList(),
'action': action?.toJson(),
};
}