copyWithWrapped method

UpdateWebhookSubscriptionRequest copyWithWrapped({
  1. Wrapped<String>? verificationToken,
  2. Wrapped? callbackUrl,
  3. Wrapped? eventType,
  4. Wrapped? dataType,
})

Implementation

UpdateWebhookSubscriptionRequest copyWithWrapped(
    {Wrapped<String>? verificationToken,
    Wrapped<dynamic>? callbackUrl,
    Wrapped<dynamic>? eventType,
    Wrapped<dynamic>? dataType}) {
  return UpdateWebhookSubscriptionRequest(
      verificationToken: (verificationToken != null
          ? verificationToken.value
          : this.verificationToken),
      callbackUrl:
          (callbackUrl != null ? callbackUrl.value : this.callbackUrl),
      eventType: (eventType != null ? eventType.value : this.eventType),
      dataType: (dataType != null ? dataType.value : this.dataType));
}