toJson method

Map<String, dynamic> toJson()

Implementation

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