VariantAttribute class

Ein Merkmal einer Variantengruppe mit seinen Werten, in der Reihenfolge der Gruppe. Dieselbe Form in der Anfrage (CreateVariantGroupRequest.attributes) und in der Antwort.

Constructors

VariantAttribute({required String key, required String label, required List<String> values})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
key → String
^[a-z0-9_]{1,32}$, eindeutig in der Gruppe; Schluessel in variantAttributes.
final
label → String
Beschriftung, 1–40 Zeichen, z. B. „Größe“.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
values → List<String>
1–30 Werte zu je 1–30 Zeichen, eindeutig ohne Gross/Klein, getrimmt und in Unicode-NFC gespeichert. Werte kommen nur dazu (addAttributeValues), nie weg.
final

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