ProductContentDetails constructor
ProductContentDetails({
- Iterable<
String> ? additionalImageLinks, - Iterable<
ProductTax> ? taxes, - int? quantity,
- Iterable<
CustomAttribute> ? customAttributes,
Implementation
factory ProductContentDetails({
$core.Iterable<$core.String>? additionalImageLinks,
$core.Iterable<ProductTax>? taxes,
$core.int? quantity,
$core.Iterable<CustomAttribute>? customAttributes,
}) {
final _result = create();
if (additionalImageLinks != null) {
_result.additionalImageLinks.addAll(additionalImageLinks);
}
if (taxes != null) {
_result.taxes.addAll(taxes);
}
if (quantity != null) {
_result.quantity = quantity;
}
if (customAttributes != null) {
_result.customAttributes.addAll(customAttributes);
}
return _result;
}