copyWithWrapped method
Implementation
Pay copyWithWrapped({Wrapped<double?>? amount, Wrapped<String?>? currency}) {
return Pay(
amount: (amount != null ? amount.value : this.amount),
currency: (currency != null ? currency.value : this.currency));
}