copyWith method
WebhookSubscriptionModel
copyWith({
- String? id,
- String? callbackUrl,
- WebhookOperation? eventType,
- ExtApiV2DataType? dataType,
- DateTime? expirationTime,
Implementation
WebhookSubscriptionModel copyWith(
{String? id,
String? callbackUrl,
enums.WebhookOperation? eventType,
enums.ExtApiV2DataType? dataType,
DateTime? expirationTime}) {
return WebhookSubscriptionModel(
id: id ?? this.id,
callbackUrl: callbackUrl ?? this.callbackUrl,
eventType: eventType ?? this.eventType,
dataType: dataType ?? this.dataType,
expirationTime: expirationTime ?? this.expirationTime);
}