toJson method
Implementation
Map<String, dynamic> toJson() => {
"title": title,
"subTitle": subTitle,
"tag": tag,
"thumbnailImageId": thumbnailImageId,
"slides": List<dynamic>.from(slides.map((x) => x.toJson())),
"thumbnailImageUrl": thumbnailImageUrl,
};