toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => <String, dynamic>{
      "visibility": visibility.name,
      "title": title.toJson(),
      "background": background.toJson(),
      "statesTitles": statesTitles.toJson(),
    };