copyWith method
Implementation
PaywayPartner copyWith({
String? partnerName,
String? partnerID,
String? partnerKey,
String? partnerPrivateKey,
String? partnerPublicKey,
String? baseApiUrl,
}) {
return PaywayPartner(
partnerName: partnerName ?? this.partnerName,
partnerID: partnerID ?? this.partnerID,
partnerKey: partnerKey ?? this.partnerKey,
partnerPrivateKey: partnerPrivateKey ?? this.partnerPrivateKey,
partnerPublicKey: partnerPublicKey ?? this.partnerPublicKey,
baseApiUrl: baseApiUrl ?? this.baseApiUrl,
);
}