Create class Null safety

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

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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