copyWithWrapped method

SandboxTransferSimulateRequest copyWithWrapped({
  1. Wrapped<String?>? clientId,
  2. Wrapped<String?>? secret,
  3. Wrapped<String>? transferId,
  4. Wrapped<String>? eventType,
  5. Wrapped<TransferFailure?>? failureReason,
})

Implementation

SandboxTransferSimulateRequest copyWithWrapped(
    {Wrapped<String?>? clientId,
    Wrapped<String?>? secret,
    Wrapped<String>? transferId,
    Wrapped<String>? eventType,
    Wrapped<TransferFailure?>? failureReason}) {
  return SandboxTransferSimulateRequest(
      clientId: (clientId != null ? clientId.value : this.clientId),
      secret: (secret != null ? secret.value : this.secret),
      transferId: (transferId != null ? transferId.value : this.transferId),
      eventType: (eventType != null ? eventType.value : this.eventType),
      failureReason:
          (failureReason != null ? failureReason.value : this.failureReason));
}