toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (action != null) 'action': action!,
if (actionButton != null) 'actionButton': actionButton!,
if (backgroundHexColor != null)
'backgroundHexColor': backgroundHexColor!,
if (body != null) 'body': body!,
if (imageUrl != null) 'imageUrl': imageUrl!,
if (title != null) 'title': title!,
};