copyWith method

RpayFailedResponse copyWith({
  1. String? status,
  2. String? desc,
  3. String? reason,
  4. String? orderId,
  5. String? paymentId,
})

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