copyWith method

PaymentRequest copyWith({
  1. required String token,
})

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);
}