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