quantity property

int quantity

Implementation

int get quantity => _getAttribute<int>(kQuantity, 0);
void quantity=(int? x)

pass null to remove key from attributes

Implementation

set quantity(int? x) =>
    (x == null) ? _attributes.remove(kQuantity) : _attributes[kQuantity] = x;