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