copyWith method
Implementation
CartItemEntity copyWith({
String? documentID,
int? amount,
String? appId,
String? productId,
}) {
return CartItemEntity(
amount: amount ?? this.amount,
appId: appId ?? this.appId,
productId: productId ?? this.productId,
);
}