copyWith method

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

Implementation

RpaySuccessResponse copyWith({
  String? status,
  String? desc,
  String? paymentId,
  String? orderId,
  String? signature,
}) {
  return RpaySuccessResponse(
    status: status ?? this.status,
    desc: desc ?? this.desc,
    paymentId: paymentId ?? this.paymentId,
    orderId: orderId ?? this.orderId,
    signature: signature ?? this.signature,
  );
}