toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (imageAltText != null) 'imageAltText': imageAltText!,
if (imageType != null) 'imageType': imageType!,
if (imageUrl != null) 'imageUrl': imageUrl!,
if (subtitle != null) 'subtitle': subtitle!,
if (title != null) 'title': title!,
};