copyWithWrapped method

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

Implementation

AuthGetRequest copyWithWrapped(
    {Wrapped<String?>? clientId,
    Wrapped<String?>? secret,
    Wrapped<String>? accessToken,
    Wrapped<AuthGetRequestOptions?>? options}) {
  return AuthGetRequest(
      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));
}