DVWebhookDelivery class
The record of one delivery: kept indefinitely, with its payload kept for the retention window.
Constructors
- DVWebhookDelivery({required String id, required String subscriptionId, required String event, required int sequence, required DateTime createdAt, required DVWebhookDeliveryState state, required String? payload, int attempts = 0, int replays = 0, int? lastStatus, String? lastError, DateTime? lastAttemptAt, Duration? lastDuration, DateTime? deliveredAt, DateTime? payloadPurgedAt})
-
const
Properties
- attempts → int
-
Attempts in the current series; a replay starts a new one.
final
- createdAt → DateTime
-
final
- deliveredAt → DateTime?
-
final
- event → String
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Stable across retries and replays, and sent in
dartvel-webhook-id, so a consumer can deduplicate an at-least-once delivery.final - lastAttemptAt → DateTime?
-
final
- lastDuration → Duration?
-
final
- lastError → String?
-
final
- lastStatus → int?
-
final
- payload → String?
-
The JSON body, or null once the retention window has passed.
final
- payloadPurgedAt → DateTime?
-
final
- replays → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sequence → int
-
Emission order within the subscription.
final
- state → DVWebhookDeliveryState
-
final
- subscriptionId → String
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited