copyWith method
Implementation
PayData copyWith({
Order? order,
Customer? customer,
Card? card,
User? user,
}) {
return PayData(
order: order ?? this.order,
customer: customer ?? this.customer,
card: card ?? this.card,
user: user ?? this.user,
);
}