addToWishlist method

Future<bool> addToWishlist(
  1. String sku
)

Add product to wishlist.

Adds a product to the customer's wishlist. Requires customer authentication.

sku the product's SKU to add to wishlist

Returns true if product was added successfully, false otherwise.

Implementation

Future<bool> addToWishlist(String sku) {
  throw UnimplementedError('addToWishlist() has not been implemented.');
}