copyWith method

InstitutionsSearchRequestOptions copyWith({
  1. bool? oauth,
  2. bool? includeOptionalMetadata,
  3. bool? includePaymentInitiationMetadata,
  4. InstitutionsSearchPaymentInitiationOptions? paymentInitiation,
})

Implementation

InstitutionsSearchRequestOptions copyWith(
    {bool? oauth,
    bool? includeOptionalMetadata,
    bool? includePaymentInitiationMetadata,
    InstitutionsSearchPaymentInitiationOptions? paymentInitiation}) {
  return InstitutionsSearchRequestOptions(
      oauth: oauth ?? this.oauth,
      includeOptionalMetadata:
          includeOptionalMetadata ?? this.includeOptionalMetadata,
      includePaymentInitiationMetadata: includePaymentInitiationMetadata ??
          this.includePaymentInitiationMetadata,
      paymentInitiation: paymentInitiation ?? this.paymentInitiation);
}