hydrateWishlist method
This function allows you to hydrate products.
Implementation
Future<void> hydrateWishlist(List<STRProductItem> products) {
return _methodChannel.invokeMethod(
'hydrateWishlist',
<String, dynamic>{
'products': products.map((e) => e.toJson()).toList(),
},
);
}