copyWith method
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);
}