toJson method

  1. @override
Map<String, dynamic> toJson()
override

Implementation

@override
Map<String, dynamic> toJson() => {
      '_elementId': _elementId,
      'title': title,
      'sections': sections.map((e) => e.toJson()).toList(),
      'emptyViewTitleVariants': emptyViewTitleVariants,
      'emptyViewSubtitleVariants': emptyViewSubtitleVariants,
      'tabTitle': tabTitle,
      'showsTabBadge': showsTabBadge,
      'systemIcon': systemIcon,
      'backButton': backButton?.toJson(),
      'runtimeType': 'FCPListTemplate',
    };