toJson method
Implementation
Map<String, dynamic> toJson() {
return createNonNullMap(<String, dynamic>{
'title': title,
'summary': summary,
'text': text,
'annotations': annotations?.map((a) => a.toJson()).toList(),
'images': images?.map((i) => i.toJson()).toList(),
});
}