copyWithWrapped method

IncomeVerificationTaxformsGetResponse copyWithWrapped({
  1. Wrapped<String?>? requestId,
  2. Wrapped<List<DocumentMetadata>>? documentMetadata,
  3. Wrapped<List<Taxform>>? taxforms,
  4. Wrapped<PlaidError?>? error,
})

Implementation

IncomeVerificationTaxformsGetResponse copyWithWrapped(
    {Wrapped<String?>? requestId,
    Wrapped<List<DocumentMetadata>>? documentMetadata,
    Wrapped<List<Taxform>>? taxforms,
    Wrapped<PlaidError?>? error}) {
  return IncomeVerificationTaxformsGetResponse(
      requestId: (requestId != null ? requestId.value : this.requestId),
      documentMetadata: (documentMetadata != null
          ? documentMetadata.value
          : this.documentMetadata),
      taxforms: (taxforms != null ? taxforms.value : this.taxforms),
      error: (error != null ? error.value : this.error));
}