copyWith method
Implementation
HostResponseData copyWith({
String? transactionId,
String? rrn,
String? stan,
String? trackId,
String? paymentId,
String? accessUrl,
}) {
return HostResponseData(
transactionId: transactionId ?? this.transactionId,
rrn: rrn ?? this.rrn,
stan: stan ?? this.stan,
trackId: trackId ?? this.trackId,
paymentId: paymentId ?? this.paymentId,
accessUrl: accessUrl ?? this.accessUrl,
);
}