VariantInput constructor

const VariantInput({
  1. required Map<String, String> variantAttributes,
  2. String? name,
  3. String? description,
  4. int? unitPriceCents,
  5. num? vatRate,
  6. String? unit,
  7. String? number,
  8. String? ean,
  9. String? groupId,
  10. String? revenueGroupId,
  11. bool? stockTracked,
  12. List<String>? stockLocationIds,
  13. int? minStock,
  14. Map<String, int>? minStockByLocation,
  15. String? stockKind,
  16. int? purchasePriceMicros,
  17. Map<String, String>? externalIds,
  18. Map<String, String>? metadata,
})

Implementation

const VariantInput({
  required this.variantAttributes,
  this.name,
  this.description,
  this.unitPriceCents,
  this.vatRate,
  this.unit,
  this.number,
  this.ean,
  this.groupId,
  this.revenueGroupId,
  this.stockTracked,
  this.stockLocationIds,
  this.minStock,
  this.minStockByLocation,
  this.stockKind,
  this.purchasePriceMicros,
  this.externalIds,
  this.metadata,
});