ProductDetails constructor

ProductDetails(
  1. {required String id,
  2. required String title,
  3. required String description,
  4. required String price,
  5. required double rawPrice,
  6. required String currencyCode,
  7. String currencySymbol = ''}
)

Creates a new product details object with the provided details.

Implementation

ProductDetails({
  required this.id,
  required this.title,
  required this.description,
  required this.price,
  required this.rawPrice,
  required this.currencyCode,
  this.currencySymbol = '',
});