toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "title": title == null ? null : title,
      "subscriptions": subscriptions == null
          ? null
          : List<dynamic>.from(subscriptions.map((x) => x.toJson())),
      "recommended": recommended == null ? null : recommended,
    };