PriceRule constructor
PriceRule({
- String? title,
- PriceRuleCondition? condition,
- Iterable<
PriceRuleAction> ? actions,
Implementation
factory PriceRule({
$core.String? title,
PriceRuleCondition? condition,
$core.Iterable<PriceRuleAction>? actions,
}) {
final result = create();
if (title != null) result.title = title;
if (condition != null) result.condition = condition;
if (actions != null) result.actions.addAll(actions);
return result;
}