WebhookEnvelope class
The raw JSON envelope POSTed to a destination.
id is one per delivery: a retry of the same delivery keeps it, so use it
to drop retries. eventId is one per change: every delivery made for the
same record change (the plain webhook delivery and each schema
Webhook-trigger delivery) carries the same eventId, so use it to handle
one change only once. A gateway that does not send eventId yet gives
eventId == id.
Constructors
Properties
- accountId → String?
-
final
- createdOn → String?
-
final
- data → dynamic
-
final
- event → String
-
final
- eventId → String
-
The change id, shared by every delivery made for one change.
Falls back to id when the wire envelope has no
eventId.final - hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
The delivery id (one per delivery; a retry keeps it).
final
- projectId → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- triggerId → 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