copyWith method

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

Implementation

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