removeFromWishlist method
Remove product from wishlist.
Implementation
@override
Future<bool> removeFromWishlist(String itemId) async {
try {
final result = await methodChannel.invokeMethod<bool>('removeFromWishlist', {
'itemId': itemId,
});
return result ?? false;
} catch (e) {
_error = e.toString();
return false;
}
}