copyWith method

UpdateWebhookSubscriptionRequest copyWith({
  1. String? verificationToken,
  2. dynamic callbackUrl,
  3. dynamic eventType,
  4. dynamic dataType,
})

Implementation

UpdateWebhookSubscriptionRequest copyWith(
    {String? verificationToken,
    dynamic callbackUrl,
    dynamic eventType,
    dynamic dataType}) {
  return UpdateWebhookSubscriptionRequest(
      verificationToken: verificationToken ?? this.verificationToken,
      callbackUrl: callbackUrl ?? this.callbackUrl,
      eventType: eventType ?? this.eventType,
      dataType: dataType ?? this.dataType);
}