Create constructor
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? 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,
- List? metaData,
- Links? links,
Implementation
Create({
this.id,
this.name,
this.slug,
this.permalink,
this.dateCreated,
this.dateCreatedGmt,
this.dateModified,
this.dateModifiedGmt,
this.type,
this.status,
this.featured,
this.catalogVisibility,
this.description,
this.shortDescription,
this.sku,
this.price,
this.regularPrice,
this.salePrice,
this.dateOnSaleFrom,
this.dateOnSaleFromGmt,
this.dateOnSaleTo,
this.dateOnSaleToGmt,
this.priceHtml,
this.onSale,
this.purchasable,
this.totalSales,
this.virtual,
this.downloadable,
this.downloads,
this.downloadLimit,
this.downloadExpiry,
this.externalUrl,
this.buttonText,
this.taxStatus,
this.taxClass,
this.manageStock,
this.stockQuantity,
this.stockStatus,
this.backorders,
this.backordersAllowed,
this.backordered,
this.soldIndividually,
this.weight,
this.dimensions,
this.shippingRequired,
this.shippingTaxable,
this.shippingClass,
this.shippingClassId,
this.reviewsAllowed,
this.averageRating,
this.ratingCount,
this.relatedIds,
this.upsellIds,
this.crossSellIds,
this.parentId,
this.purchaseNote,
this.categories,
this.tags,
this.images,
this.attributes,
this.defaultAttributes,
this.variations,
this.groupedProducts,
this.menuOrder,
this.metaData,
this.links,
});