copyWith method

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

Implementation

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