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