toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (bottomLabel != null) 'bottomLabel': bottomLabel!,
if (button != null) 'button': button!,
if (content != null) 'content': content!,
if (contentMultiline != null) 'contentMultiline': contentMultiline!,
if (icon != null) 'icon': icon!,
if (iconUrl != null) 'iconUrl': iconUrl!,
if (onClick != null) 'onClick': onClick!,
if (topLabel != null) 'topLabel': topLabel!,
};