copyWith method
Implementation
RpayFailedResponse copyWith({
String? status,
String? desc,
String? reason,
String? orderId,
String? paymentId,
}) {
return RpayFailedResponse(
status: status ?? this.status,
desc: desc ?? this.desc,
reason: reason ?? this.reason,
orderId: orderId ?? this.orderId,
paymentId: paymentId ?? this.paymentId,
);
}