toJson method

Map<String, dynamic> toJson()

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!,
    };