Products class

Constructors

Products({int? id, String? title, String? bodyHtml, String? vendor, String? productType, String? createdAt, String? handle, String? updatedAt, String? publishedAt, String? templateSuffix, String? status, String? publishedScope, String? tags, String? adminGraphqlApiId, List<Variants>? variants, List<Options>? options, List<Images>? images, Images? image})
Products.fromJson(Map<String, dynamic> json)

Properties

adminGraphqlApiId String?
getter/setter pair
bodyHtml String?
getter/setter pair
createdAt String?
getter/setter pair
handle String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id int?
getter/setter pair
image Images?
getter/setter pair
images List<Images>?
getter/setter pair
options List<Options>?
getter/setter pair
productType String?
getter/setter pair
publishedAt String?
getter/setter pair
publishedScope String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status String?
getter/setter pair
tags String?
getter/setter pair
templateSuffix String?
getter/setter pair
title String?
getter/setter pair
updatedAt String?
getter/setter pair
variants List<Variants>?
getter/setter pair
vendor String?
getter/setter pair

Methods

defaultVariant() Variants
findVariation(Map<int, dynamic> options) → dynamic
findVariationImage(int imageId) String?
getOption(String name) Options?
getOptionValues(String name) List<String>?
hasVariations() bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
optionNameList() List<String?>
price() String?
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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