Product constructor

Product(
  1. String id,
  2. String sku,
  3. double price, {
  4. String? name,
  5. String? productId,
  6. Map<String, Object> others = const {},
})

Implementation

Product(this.id, this.sku, this.price, {this.name, this.productId, this.others = const {}});