ServicePointState constructor
ServicePointState({
- ServicePointId? id,
- bool? firstMileActive,
- bool? lastMileActive,
- Credit? firstMilePriceInclTax,
- Credit? lastMilePriceInclTax,
Implementation
factory ServicePointState({
$1.ServicePointId? id,
$core.bool? firstMileActive,
$core.bool? lastMileActive,
$0.Credit? firstMilePriceInclTax,
$0.Credit? lastMilePriceInclTax,
}) {
final result = create();
if (id != null) result.id = id;
if (firstMileActive != null) result.firstMileActive = firstMileActive;
if (lastMileActive != null) result.lastMileActive = lastMileActive;
if (firstMilePriceInclTax != null)
result.firstMilePriceInclTax = firstMilePriceInclTax;
if (lastMilePriceInclTax != null)
result.lastMilePriceInclTax = lastMilePriceInclTax;
return result;
}