copyWith method
Implementation
ShippingCoverage copyWith({
String? estimationDays,
String? shippingDeliveryDays,
String? price,
int? anotherCoveredBranches,
bool? isCovered,
}) {
return ShippingCoverage(
estimationDays: estimationDays ?? this.estimationDays,
shippingDeliveryDays: shippingDeliveryDays ?? this.shippingDeliveryDays,
price: price ?? this.price,
anotherCoveredBranches:
anotherCoveredBranches ?? this.anotherCoveredBranches,
isCovered: isCovered ?? this.isCovered,
);
}