Variants class

Constructors

Variants({int? id, int? productId, String? title, String? price, String? sku, int? position, String? inventoryPolicy, String? compareAtPrice, String? fulfillmentService, String? inventoryManagement, String? option1, String? option2, String? option3, String? createdAt, String? updatedAt, bool? taxable, String? barcode, int? grams, int? imageId, double? weight, String? weightUnit, int? inventoryItemId, int? inventoryQuantity, int? oldInventoryQuantity, bool? requiresShipping, String? adminGraphqlApiId})
Variants.fromJson(Map<String, dynamic> json)

Properties

adminGraphqlApiId String?
getter/setter pair
barcode String?
getter/setter pair
compareAtPrice String?
getter/setter pair
createdAt String?
getter/setter pair
fulfillmentService String?
getter/setter pair
grams int?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id int?
getter/setter pair
imageId int?
getter/setter pair
inventoryItemId int?
getter/setter pair
inventoryManagement String?
getter/setter pair
inventoryPolicy String?
getter/setter pair
inventoryQuantity int?
getter/setter pair
oldInventoryQuantity int?
getter/setter pair
option1 String?
getter/setter pair
option2 String?
getter/setter pair
option3 String?
getter/setter pair
position int?
getter/setter pair
price String?
getter/setter pair
productId int?
getter/setter pair
requiresShipping bool?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sku String?
getter/setter pair
taxable bool?
getter/setter pair
title String?
getter/setter pair
updatedAt String?
getter/setter pair
weight double?
getter/setter pair
weightUnit String?
getter/setter pair

Methods

canPurchase() bool
inStock() bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited