toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => <String, dynamic>{
      "backgroundColor": backgroundColor.toString(),
      "dividerColor": dividerColor.toString(),
      "handlerColor": handlerColor.toString(),
      "showAutomatically": showAutomatically,
      "topBarDoneButton": topBarDoneButton.toJson(),
      "title": title.toJson(),
      "subtitle": subtitle.toJson(),
      "items": items.map((it) => it.toJson()).toList(),
    };