WooProductCategory class

Constructors

WooProductCategory.new({int? id, String? name, String? slug, int? parent, String? description, WooCategoryDisplay? display, WooProductCategoryImage? image, int? menuOrder, int? count, WooProductCategoryLinks? links})
WooProductCategory.fake()
factory
WooProductCategory.fromJson(Map<String, dynamic> json)

Properties

count int?
Number of published products for the resource.
getter/setter pair
description String?
HTML description of the resource.
getter/setter pair
display WooCategoryDisplay?
Category archive display type. Options: default, products, subcategories and both. Default is default.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id int?
Unique identifier for the resource.
getter/setter pair
image WooProductCategoryImage?
Image data.
getter/setter pair
getter/setter pair
Menu order, used to custom sort the resource.
getter/setter pair
name String?
Category name.
getter/setter pair
parent int?
The ID for the parent of the resource.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
slug String?
An alphanumeric identifier for the resource unique to its type.
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.
override

Operators

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