Create class

Constructors

Create({int? id, String? name, String? slug, String? permalink, DateTime? dateCreated, DateTime? dateCreatedGmt, DateTime? dateModified, DateTime? dateModifiedGmt, String? type, String? status, bool? featured, String? catalogVisibility, String? description, String? shortDescription, String? sku, String? price, String? regularPrice, String? salePrice, dynamic dateOnSaleFrom, dynamic dateOnSaleFromGmt, dynamic dateOnSaleTo, dynamic dateOnSaleToGmt, String? priceHtml, bool? onSale, bool? purchasable, int? totalSales, bool? virtual, bool? downloadable, List<Download>? downloads, int? downloadLimit, int? downloadExpiry, String? externalUrl, String? buttonText, String? taxStatus, String? taxClass, bool? manageStock, dynamic stockQuantity, String? stockStatus, String? backorders, bool? backordersAllowed, bool? backordered, bool? soldIndividually, String? weight, Dimensions? dimensions, bool? shippingRequired, bool? shippingTaxable, String? shippingClass, int? shippingClassId, bool? reviewsAllowed, String? averageRating, int? ratingCount, List<int>? relatedIds, List? upsellIds, List? crossSellIds, int? parentId, String? purchaseNote, List<Category>? categories, List? tags, List<Image>? images, List<Attribute>? attributes, List<DefaultAttribute>? defaultAttributes, List? variations, List? groupedProducts, int? menuOrder, List? metaData, Links? links})
Create.fromJson(Map<String, dynamic> json)
factory

Properties

attributes List<Attribute>?
getter/setter pair
averageRating String?
getter/setter pair
backordered bool?
getter/setter pair
backorders String?
getter/setter pair
backordersAllowed bool?
getter/setter pair
buttonText String?
getter/setter pair
catalogVisibility String?
getter/setter pair
categories List<Category>?
getter/setter pair
crossSellIds List?
getter/setter pair
dateCreated DateTime?
getter/setter pair
dateCreatedGmt DateTime?
getter/setter pair
dateModified DateTime?
getter/setter pair
dateModifiedGmt DateTime?
getter/setter pair
dateOnSaleFrom ↔ dynamic
getter/setter pair
dateOnSaleFromGmt ↔ dynamic
getter/setter pair
dateOnSaleTo ↔ dynamic
getter/setter pair
dateOnSaleToGmt ↔ dynamic
getter/setter pair
defaultAttributes List<DefaultAttribute>?
getter/setter pair
description String?
getter/setter pair
dimensions Dimensions?
getter/setter pair
downloadable bool?
getter/setter pair
downloadExpiry int?
getter/setter pair
downloadLimit int?
getter/setter pair
downloads List<Download>?
getter/setter pair
externalUrl String?
getter/setter pair
getter/setter pair
groupedProducts List?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id int?
getter/setter pair
images List<Image>?
getter/setter pair
getter/setter pair
manageStock bool?
getter/setter pair
getter/setter pair
metaData List?
getter/setter pair
name String?
getter/setter pair
onSale bool?
getter/setter pair
parentId int?
getter/setter pair
getter/setter pair
price String?
getter/setter pair
priceHtml String?
getter/setter pair
purchasable bool?
getter/setter pair
purchaseNote String?
getter/setter pair
ratingCount int?
getter/setter pair
regularPrice String?
getter/setter pair
relatedIds List<int>?
getter/setter pair
reviewsAllowed bool?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
salePrice String?
getter/setter pair
shippingClass String?
getter/setter pair
shippingClassId int?
getter/setter pair
shippingRequired bool?
getter/setter pair
shippingTaxable bool?
getter/setter pair
shortDescription String?
getter/setter pair
sku String?
getter/setter pair
slug String?
getter/setter pair
soldIndividually bool?
getter/setter pair
status String?
getter/setter pair
stockQuantity ↔ dynamic
getter/setter pair
stockStatus String?
getter/setter pair
tags List?
getter/setter pair
taxClass String?
getter/setter pair
taxStatus String?
getter/setter pair
totalSales int?
getter/setter pair
type String?
getter/setter pair
upsellIds List?
getter/setter pair
variations List?
getter/setter pair
virtual bool?
getter/setter pair
weight String?
getter/setter pair

Methods

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