ProductVariant constructor

ProductVariant({
  1. String? size,
  2. String? color,
  3. required double price,
})

Implementation

factory ProductVariant({
  String? size,
  String? color,
  required double price,
}) = _ProductVariant;