mirrored_repositories/fic-mini-project/lib/domain
import 'package:fic_mini_project/domain/entity/cart.dart';
import 'package:fic_mini_project/domain/entity/product.dart';

abstract class CartRepository {
  Future<Cart> addProductToCart(Product product);
  Future<Cart> addProductQuantity(Product product);
  Future<Cart> reduceProductQuantity(Product product);
  Future<Map<String, dynamic>> getAllCartsMap();
  Future<void> clearCart();
}
