toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (collapsible != null) 'collapsible': collapsible!,
      if (header != null) 'header': header!,
      if (uncollapsibleWidgetsCount != null)
        'uncollapsibleWidgetsCount': uncollapsibleWidgetsCount!,
      if (widgets != null) 'widgets': widgets!,
    };