Product constructor

const Product({
  1. required bool active,
  2. required DateTime created,
  3. PriceOrId? defaultPrice,
  4. String? description,
  5. required List<ProductMarketingFeature> features,
  6. required String id,
  7. required List<String> images,
  8. required bool livemode,
  9. required Map<String, String> metadata,
  10. required String name,
  11. PackageDimensions? packageDimensions,
  12. bool? shippable,
  13. String? statementDescriptor,
  14. TaxCodeOrId? taxCode,
  15. required ProductType type,
  16. String? unitLabel,
  17. required DateTime updated,
  18. String? url,
})

Product

Products describe the specific goods or services you offer to your customers. For example, you might offer a Standard and Premium version of your goods or service; each version would be a separate Product. They can be used in conjunction with [Prices](https://stripe.com/docs/api#prices) to configure pricing in Payment Links, Checkout, and Subscriptions. Related guides: [Set up a subscription](https://stripe.com/docs/billing/subscriptions/set-up-subscription), [share a Payment Link](https://stripe.com/docs/payment-links), [accept payments with Checkout](https://stripe.com/docs/payments/accept-a-payment#create-product-prices-upfront), and more about [Products and Prices](https://stripe.com/docs/products-prices/overview)

Implementation

const Product({
  required this.active,
  required this.created,
  this.defaultPrice,
  this.description,
  required this.features,
  required this.id,
  required this.images,
  required this.livemode,
  required this.metadata,
  required this.name,
  this.packageDimensions,
  this.shippable,
  this.statementDescriptor,
  this.taxCode,
  required this.type,
  this.unitLabel,
  required this.updated,
  this.url,
});