copyWithWrapped method

LiabilitiesGetRequest copyWithWrapped({
  1. Wrapped<String?>? clientId,
  2. Wrapped<String?>? secret,
  3. Wrapped<String>? accessToken,
  4. Wrapped<LiabilitiesGetRequestOptions?>? options,
})

Implementation

LiabilitiesGetRequest copyWithWrapped(
    {Wrapped<String?>? clientId,
    Wrapped<String?>? secret,
    Wrapped<String>? accessToken,
    Wrapped<LiabilitiesGetRequestOptions?>? options}) {
  return LiabilitiesGetRequest(
      clientId: (clientId != null ? clientId.value : this.clientId),
      secret: (secret != null ? secret.value : this.secret),
      accessToken:
          (accessToken != null ? accessToken.value : this.accessToken),
      options: (options != null ? options.value : this.options));
}