ProductPackaging class

Packaging component for a product, e.g. recyclable bottle made of glass.

Inheritance

Constructors

ProductPackaging()
ProductPackaging.fromJson(dynamic json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
material LocalizedTag?
Material, canonicalized using TaxonomyPackagingMaterial.
getter/setter pair
numberOfUnits int?
Number of units of this component contained in the product.
getter/setter pair
quantityPerUnit String?
Quantity (weight or volume) of food product contained.
getter/setter pair
recycling LocalizedTag?
Recycling status, canonicalized using TaxonomyPackagingRecycling.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shape LocalizedTag?
Shape, canonicalized using TaxonomyPackagingShape.
getter/setter pair
weightMeasured double?
Weight in grams as measured by a user of one unit of the empty component.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toData() Map<String, String>
inherited
toJson() Map<String, dynamic>
override
toServerData() Map<String, String>
toString() String
A string representation of this object.
override
toValueString() String
Returns all values as a String separated by a hyphen value1 - value2 - value3
inherited

Operators

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