copyWith method

ShopifySharpTaxLine copyWith({
  1. double? price,
  2. double? rate,
  3. String? title,
  4. ShopifySharpPriceSet? priceSet,
})

Implementation

ShopifySharpTaxLine copyWith({
  double? price,
  double? rate,
  String? title,
  ShopifySharpPriceSet? priceSet,
}) {
  return ShopifySharpTaxLine(
    price: price ?? this.price,
    rate: rate ?? this.rate,
    title: title ?? this.title,
    priceSet: priceSet ?? this.priceSet,
  );
}