toJson method
Implementation
@override
Map<String, dynamic> toJson() => {
'type': 'Tag',
'name': name,
'content': content.map((child) => child.toJson()).toList(),
'body': body.map((child) => child.toJson()).toList(),
'filters': filters.map((filter) => filter.toJson()).toList(),
};