CartService constructor
- String userId
Creates a CartService instance for a specific user.
Parameters:
- userId: The ID of the user whose cart is being managed.
Implementation
CartService(this.userId);
Creates a CartService instance for a specific user.
Parameters:
CartService(this.userId);