toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (buttonList != null) 'buttonList': buttonList!,
if (image != null) 'image': image!,
if (textParagraph != null) 'textParagraph': textParagraph!,
};