copyWithWrapped method

AssetsErrorWebhook copyWithWrapped({
  1. Wrapped<String>? webhookType,
  2. Wrapped<String>? webhookCode,
  3. Wrapped<PlaidError?>? error,
  4. Wrapped<String>? assetReportId,
})

Implementation

AssetsErrorWebhook copyWithWrapped(
    {Wrapped<String>? webhookType,
    Wrapped<String>? webhookCode,
    Wrapped<PlaidError?>? error,
    Wrapped<String>? assetReportId}) {
  return AssetsErrorWebhook(
      webhookType:
          (webhookType != null ? webhookType.value : this.webhookType),
      webhookCode:
          (webhookCode != null ? webhookCode.value : this.webhookCode),
      error: (error != null ? error.value : this.error),
      assetReportId:
          (assetReportId != null ? assetReportId.value : this.assetReportId));
}