copyWithWrapped method

CreditRelayCreateRequest copyWithWrapped({
  1. Wrapped<String?>? clientId,
  2. Wrapped<String?>? secret,
  3. Wrapped<List<String>>? reportTokens,
  4. Wrapped<String>? secondaryClientId,
  5. Wrapped<String?>? webhook,
})

Implementation

CreditRelayCreateRequest copyWithWrapped(
    {Wrapped<String?>? clientId,
    Wrapped<String?>? secret,
    Wrapped<List<String>>? reportTokens,
    Wrapped<String>? secondaryClientId,
    Wrapped<String?>? webhook}) {
  return CreditRelayCreateRequest(
      clientId: (clientId != null ? clientId.value : this.clientId),
      secret: (secret != null ? secret.value : this.secret),
      reportTokens:
          (reportTokens != null ? reportTokens.value : this.reportTokens),
      secondaryClientId: (secondaryClientId != null
          ? secondaryClientId.value
          : this.secondaryClientId),
      webhook: (webhook != null ? webhook.value : this.webhook));
}