Variants constructor

Variants({
  1. int? id,
  2. int? productId,
  3. String? title,
  4. String? price,
  5. String? sku,
  6. int? position,
  7. String? inventoryPolicy,
  8. String? compareAtPrice,
  9. String? fulfillmentService,
  10. String? inventoryManagement,
  11. String? option1,
  12. String? option2,
  13. String? option3,
  14. String? createdAt,
  15. String? updatedAt,
  16. bool? taxable,
  17. String? barcode,
  18. int? grams,
  19. int? imageId,
  20. double? weight,
  21. String? weightUnit,
  22. int? inventoryItemId,
  23. int? inventoryQuantity,
  24. int? oldInventoryQuantity,
  25. bool? requiresShipping,
  26. String? adminGraphqlApiId,
})

Implementation

Variants(
    {this.id,
    this.productId,
    this.title,
    this.price,
    this.sku,
    this.position,
    this.inventoryPolicy,
    this.compareAtPrice,
    this.fulfillmentService,
    this.inventoryManagement,
    this.option1,
    this.option2,
    this.option3,
    this.createdAt,
    this.updatedAt,
    this.taxable,
    this.barcode,
    this.grams,
    this.imageId,
    this.weight,
    this.weightUnit,
    this.inventoryItemId,
    this.inventoryQuantity,
    this.oldInventoryQuantity,
    this.requiresShipping,
    this.adminGraphqlApiId});