copyWith method

ItemErrorWebhook copyWith({
  1. String? webhookType,
  2. String? webhookCode,
  3. String? itemId,
  4. Error? error,
})

Implementation

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