copyWith method

FailedWebhook copyWith({
  1. String? body,
  2. int? failureTime,
  3. String? id,
  4. String? url,
})

Implementation

FailedWebhook copyWith(
    {String? body, int? failureTime, String? id, String? url}) {
  return FailedWebhook(
    body: body ?? this.body,
    failureTime: failureTime ?? this.failureTime,
    id: id ?? this.id,
    url: url ?? this.url,
  );
}