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