copyWith method
PaymentTokenRequest
copyWith({
- String? accountId,
- String? method,
- bool? test,
- PaymentInfoModel? paymentData,
Implementation
PaymentTokenRequest copyWith({
String? accountId,
String? method,
bool? test,
PaymentInfoModel? paymentData,
}) {
return PaymentTokenRequest(
accountId: accountId ?? this.accountId,
method: method ?? this.method,
test: test ?? this.test,
paymentData: paymentData ?? this.paymentData,
);
}