SmartCollectionResponse.fromJson constructor
Implementation
SmartCollectionResponse.fromJson(Map<String, dynamic> json) {
if (json['smart_collections'] != null) {
smartCollections = [];
json['smart_collections'].forEach((v) {
smartCollections!.add(SmartCollections.fromJson(v));
});
}
pageLink =
json['page_link'] != null ? PageLink.fromJson(json['page_link']) : null;
}