CatalogItem class
- Annotations
-
- @JsonSerializable()
Constructors
-
CatalogItem({String? name, String? description, String? abbreviation, String? labelColor, bool? availableOnline, bool? availableForPickup, bool? availableElectronically, String? categoryId, List<
String> ? taxIds, List<CatalogItemModifierListInfo> ? modifierListInfo, List<CatalogObject> ? variations, CatalogItemProductType? productType, bool? skipModifierScreen, List<CatalogItemOptionForItem> ? itemOptions, String? sortName, List<String> ? imageIds}) -
const
-
CatalogItem.fromJson(Map<
String, dynamic> json) -
Converts a Map to an CatalogItem
factory
Properties
- abbreviation → String?
-
final
- availableElectronically → bool?
-
final
- availableForPickup → bool?
-
final
- availableOnline → bool?
-
final
- categoryId → String?
-
final
- description → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
imageIds
→ List<
String> ? -
final
-
itemOptions
→ List<
CatalogItemOptionForItem> ? -
final
- labelColor → String?
-
final
-
modifierListInfo
→ List<
CatalogItemModifierListInfo> ? -
final
- name → String?
-
final
- productType → CatalogItemProductType?
-
final
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- skipModifierScreen → bool?
-
final
- sortName → String?
-
final
- stringify → bool?
-
If set to
true
, the toString method will be overridden to output this instance's props.no setterinherited -
taxIds
→ List<
String> ? -
final
-
variations
→ List<
CatalogObject> ? -
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts a CatalogItem to a Map
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited