hydrateWishlist method

Future<void> hydrateWishlist(
  1. List<STRProductItem> products
)

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(),
    },
  );
}