copyWithWrapped method
Implementation
InstitutionsSearchRequestOptions copyWithWrapped(
{Wrapped<bool?>? oauth,
Wrapped<bool?>? includeOptionalMetadata,
Wrapped<bool?>? includeAuthMetadata,
Wrapped<bool?>? includePaymentInitiationMetadata,
Wrapped<InstitutionsSearchPaymentInitiationOptions?>?
paymentInitiation}) {
return InstitutionsSearchRequestOptions(
oauth: (oauth != null ? oauth.value : this.oauth),
includeOptionalMetadata: (includeOptionalMetadata != null
? includeOptionalMetadata.value
: this.includeOptionalMetadata),
includeAuthMetadata: (includeAuthMetadata != null
? includeAuthMetadata.value
: this.includeAuthMetadata),
includePaymentInitiationMetadata:
(includePaymentInitiationMetadata != null
? includePaymentInitiationMetadata.value
: this.includePaymentInitiationMetadata),
paymentInitiation: (paymentInitiation != null
? paymentInitiation.value
: this.paymentInitiation));
}