toJson method
Implementation
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = Map<String, dynamic>();
data['title'] = this.title;
if (this.subscriptions != null) {
data['subscriptions'] =
this.subscriptions!.map((v) => v.toJson()).toList();
}
return data;
}