copyWithWrapped method

InstitutionsSearchRequest copyWithWrapped({
  1. Wrapped<String?>? clientId,
  2. Wrapped<String?>? secret,
  3. Wrapped<String>? query,
  4. Wrapped<List<Products>?>? products,
  5. Wrapped<List<CountryCode>>? countryCodes,
  6. Wrapped<InstitutionsSearchRequestOptions?>? options,
})

Implementation

InstitutionsSearchRequest copyWithWrapped(
    {Wrapped<String?>? clientId,
    Wrapped<String?>? secret,
    Wrapped<String>? query,
    Wrapped<List<enums.Products>?>? products,
    Wrapped<List<enums.CountryCode>>? countryCodes,
    Wrapped<InstitutionsSearchRequestOptions?>? options}) {
  return InstitutionsSearchRequest(
      clientId: (clientId != null ? clientId.value : this.clientId),
      secret: (secret != null ? secret.value : this.secret),
      query: (query != null ? query.value : this.query),
      products: (products != null ? products.value : this.products),
      countryCodes:
          (countryCodes != null ? countryCodes.value : this.countryCodes),
      options: (options != null ? options.value : this.options));
}