copyWith method
Implementation
PaymentRequest copyWith({
required String token,
}) {
return PaymentRequest(
type: type,
token: token,
amount: amount,
reference: reference,
description: description,
customer: customer,
currency: currency,
isPayout: isPayout,
cardId: cardId,
is3dsEnabled: is3dsEnabled);
}