toJson method
override
Object to Map serializer
Implementation
@override
Map<String, dynamic> toJson() {
return {
'@type': 'pageBlockSlideshow',
if (extra != null) '@extra': extra,
'page_blocks': page_blocks,
'caption': caption
};
}