copyWith method

PhonePePg copyWith({
  1. String? merchantId,
  2. String? merchantUserId,
  3. String? salt,
  4. String? saltIndex,
  5. String? redirectUrl,
  6. String? callbackUrl,
  7. bool? debug,
})

Implementation

PhonePePg copyWith({
  String? merchantId,
  String? merchantUserId,
  String? salt,
  String? saltIndex,
  String? redirectUrl,
  String? callbackUrl,
  bool? debug,
}) {
  return PhonePePg(
    merchantId: merchantId ?? this.merchantId,
    merchantUserId: merchantUserId ?? this.merchantUserId,
    salt: salt ?? this.salt,
    saltIndex: saltIndex ?? this.saltIndex,
    redirectUrl: redirectUrl ?? this.redirectUrl,
    callbackUrl: callbackUrl ?? this.callbackUrl,
    debug: debug ?? this.debug,
  );
}