copyWith method
CreateWebhookSubscriptionRequest
copyWith({
- String? callbackUrl,
- String? verificationToken,
- WebhookOperation? eventType,
- ExtApiV2DataType? dataType,
Implementation
CreateWebhookSubscriptionRequest copyWith(
{String? callbackUrl,
String? verificationToken,
enums.WebhookOperation? eventType,
enums.ExtApiV2DataType? dataType}) {
return CreateWebhookSubscriptionRequest(
callbackUrl: callbackUrl ?? this.callbackUrl,
verificationToken: verificationToken ?? this.verificationToken,
eventType: eventType ?? this.eventType,
dataType: dataType ?? this.dataType);
}