copyWith method

HistoricalUpdateWebhook copyWith({
  1. String? webhookType,
  2. String? webhookCode,
  3. Error? error,
  4. double? newTransactions,
  5. String? itemId,
})

Implementation

HistoricalUpdateWebhook copyWith(
    {String? webhookType,
    String? webhookCode,
    Error? error,
    double? newTransactions,
    String? itemId}) {
  return HistoricalUpdateWebhook(
      webhookType: webhookType ?? this.webhookType,
      webhookCode: webhookCode ?? this.webhookCode,
      error: error ?? this.error,
      newTransactions: newTransactions ?? this.newTransactions,
      itemId: itemId ?? this.itemId);
}