Product class

Product data.

Constructors

Product({Attributes? attributes, String? contentLanguage, List<DestinationStatus>? destinationStatuses, List<Issue>? issues, String? name, String? parent, String? productId, String? targetCountry})
Product.fromJson(Map json_)

Properties

attributes Attributes?
Attributes of the product uploaded to the Manufacturer Center.
getter/setter pair
contentLanguage String?
The content language of the product as a two-letter ISO 639-1 language code (for example, en).
getter/setter pair
destinationStatuses List<DestinationStatus>?
The status of the destinations.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
issues List<Issue>?
A server-generated list of issues associated with the product.
getter/setter pair
name String?
Name in the format {target_country}:{content_language}:{product_id}.
getter/setter pair
parent String?
Parent ID in the format accounts/{account_id}.
getter/setter pair
productId String?
The ID of the product.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
targetCountry String?
The target country of the product as a CLDR territory code (for example, US).
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.
inherited

Operators

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