toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (cardActions != null) 'cardActions': cardActions!,
if (header != null) 'header': header!,
if (name != null) 'name': name!,
if (sections != null) 'sections': sections!,
};