copyWith method

ShopifySharpShipping copyWith({
  1. bool? fullRefund,
  2. double? amount,
  3. double? maximumRefundable,
})

Implementation

ShopifySharpShipping copyWith({
  bool? fullRefund,
  double? amount,
  double? maximumRefundable,
}) {
  return ShopifySharpShipping(
    fullRefund: fullRefund ?? this.fullRefund,
    amount: amount ?? this.amount,
    maximumRefundable: maximumRefundable ?? this.maximumRefundable,
  );
}